incidence             package:relations             R Documentation

_R_e_l_a_t_i_o_n _I_n_c_i_d_e_n_c_e_s

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

     Determine the incidences of a relation.

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

     relation_incidence(x)

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

       x: an object inheriting from class 'relation'.

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

     For a k-ary relation, a k-dimensional 0/1 array inherting from
     class 'relation_incidence' whose elements indicate whether the
     corresponding k-tuples are contained in the relation or not.

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

     'relation'; 'relation_incidence<-' for modifying the incidences.

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

     R <- as.relation(c(A = 1, B = 2, C = 3))
     relation_incidence(R)

