associations-class          package:arules          R Documentation

_C_l_a_s_s "_a_s_s_o_c_i_a_t_i_o_n_s" - _A _S_e_t _o_f _A_s_s_o_c_i_a_t_i_o_n_s

_D_e_s_c_r_i_p_t_i_o_n:

     The 'associations' class is a virtual class which is extended to
     represent mining result (e.g., sets of itemsets or rules).  The
     class provides accessors for the quality slot and a method for
     sorting the associations.

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     A virtual class: No objects may be created from it.

_S_l_o_t_s:

     '_q_u_a_l_i_t_y': Object of class 'data.frame' for quality measures
          (e.g., interest measures as support or confidence).  Each
          quality measure is a named vector with the same length as the
          number of elements in the set of associations and each vector
          element belongs to the association with the same index.

_M_e_t_h_o_d_s:

     _S_O_R_T 'signature(x = "associations")'; sorts the associations by a
          quality measure specified as the argument 'by' (default: 'by
          = "support", decreasing = TRUE').

     _q_u_a_l_i_t_y<- 'signature(x = "associations")'; replaces the quality
          'data.frame'.  The length of the vectors in the 'data.frame'
          has to equal the number of associations in the set.

     _q_u_a_l_i_t_y 'signature(x = "associations")'; returns the quality
          'data.frame'.

     _s_h_o_w 'signature(object = "associations")'

_A_u_t_h_o_r(_s):

     Michael Hahsler

_S_e_e _A_l_s_o:

     'itemsets-class', 'rules-class',

