conComp                 package:ggm                 R Documentation

_C_o_n_n_e_c_t_i_v_i_t_y _c_o_m_p_o_n_e_n_t_s

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

     Finds the connectivity components of a graph.

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

     conComp(amat)

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

    amat: a square matrix with dimnames, the adjacency matrix of a DAG
          or a UG.

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

     an integer vector representing a partition of the set of nodes.

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

     Giovanni M. Marchetti

_R_e_f_e_r_e_n_c_e_s:

     Lauritzen, S. (1996). _Graphical models_. Oxford: Clarendon Press.

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

     'UG'

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

     ## three connected components
     conComp(UG(~a*c+c*d+e+g*o*u))
     ## a connected graph
     conComp(UG(~ a*b+b*c+c*d+d*a))

