l2hel               package:hypergraph               R Documentation

_C_r_e_a_t_e _l_i_s_t_s _o_f _H_y_p_e_r_e_d_g_e _o_b_j_e_c_t_s

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

     Conveniently create lists of 'Hyperedge-class' instances.

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

     l2hel(e)

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

       e: A list of character vectors.  Each element of the list
          represents a hyperedge and the character vector value
          specifies the nodes of the hypergraph that are part of the
          hyperedge.  The names of the list elements, if found, will be
          used as the label for the corresponding Hyperedge object.

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

     A list of 'Hyperedge-class' objects.  If the list 'e' did not have
     names, the labels of the Hyperedges will be set to its index in
     the list coerced to character.

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

     Seth Falcon

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

     'Hyperedge-class' 'Hypergraph-class'

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

     edges <- list("e1"="A", "e2"=c("A", "B"), "e3"=c("C", "D"))
     hEdgeList <- l2hel(edges)

