crossTable              package:arules              R Documentation

_C_r_o_s_s-_t_a_b_u_l_a_t_e _j_o_u_n_t _o_c_c_u_r_e_n_c_e_s _a_c_r_o_s_s _p_a_i_r_s _o_f _i_t_e_m_s

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

     Provides the generic function 'crossTable' and the S4 method to 
     cross-tabulate jount occurences across pairs of items.

_U_s_a_g_e:

     crossTable(x, ...)

_A_r_g_u_m_e_n_t_s:

       x: object to be cross-tabulated  ('transactions' or
          'itemMatrix').

     ...: further arguments (currently unused). 

_V_a_l_u_e:

     A symmetric matrix of n time n, where n is the number of items
     times  in 'x'. The matrix contains the co-occurrence counts
     between pairs of items.

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

     'transactions-class', 'itemMatrix-class'.

_E_x_a_m_p_l_e_s:

     data("Groceries")

     ct <- crossTable(Groceries)
     ct[1:5, 1:5]

