moralize                 package:lcd                 R Documentation

_C_h_a_i_n _g_r_a_p_h _m_o_r_a_l_i_z_a_t_i_o_n

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

     Computes the moral graph of a given chain graph.

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

     moralize(amat)

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

    amat: the adjacency matrix of the chain graph. 

_D_e_t_a_i_l_s:

     Joins the parents of every complex and undirect all the edges.

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

     The adjacency matrix of the moral graph.

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

     Zongming Ma and Xiangrui Meng

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

     Lauritzen, S. L. (1996). _Graphical Models._ Clarendon Press,
     Oxford.

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

     moralize(toy.graph)

