validGraph               package:graph               R Documentation

_T_e_s_t _w_h_e_t_h_e_r _g_r_a_p_h _o_b_j_e_c_t _i_s _v_a_l_i_d

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

     validGraph is a validating function for a graph object.

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

     validGraph(object, quietly=FALSE)

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

  object: a graph object to be tested 

 quietly: 'TRUE' or 'FALSE' indicating whether  output should be
          printed.

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

     If the graph object is valid, 'TRUE' is returned otherwise 'FALSE'
     is returned. If 'object' is not a valid graph and 'quietly' is set
     to 'FALSE' then descriptions of the problems are printed.

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

     Elizabeth Whalen

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

     'graph-class'

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

       
       testGraph<-new("graphNEL")
       testGraph@nodes<-c("node1","node2","node3")
       validGraph(testGraph)

