nwequal                 package:deal                 R Documentation

_T_e_s_t _i_f _t_h_e _g_r_a_p_h_s _o_f _t_w_o _n_e_t_w_o_r_k_s _a_r_e _e_q_u_a_l

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

     Given two network objects, the nodes in the nodelists are compared
     by examining if their parents are the same.

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

     nwequal(nw1,nw2) 

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

     nw1: an object of class `network'

     nw2: an object of class `network'

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

     The networks are assumed to have the same number of nodes and the
     nodes are assumed to represent the same stochastic variables.
     Sequentially the parents of the nodes are compared and if they
     differ, `FALSE' is returned.

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

     a logical. `TRUE' if the network graphs are equal, `FALSE'
     otherwise.

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

     Susanne Gammelgaard Bttcher alma@math.auc.dk, 
     Claus Dethlefsen dethlef@math.auc.dk.

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

     Further information about deal can be found at:
     <URL: http://www.math.auc.dk/novo/deal>.

