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'.

     ...: Further arguments passed to the labeling function used for
          creating the dimnames of the incidence matrix.

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

     For a k-ary relation, a k-dimensional numeric array with values in
     the unit interval inheriting from class 'relation_incidence' whose
     elements give the memberships of the corresponding k-tuples are
     contained in the relation (for a crisp relation, a binary (0/1)
     array with elements indicating whether the corresponding 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)

