is.igraph               package:igraph               R Documentation

_I_s _t_h_i_s _o_b_j_e_c_t _a _g_r_a_p_h?

_D_e_s_c_r_i_p_t_i_o_n:

     'is.graph' makes its decision based on the class attribute of the
     object.

_U_s_a_g_e:

     is.igraph(graph)

_A_r_g_u_m_e_n_t_s:

   graph: An R object.

_V_a_l_u_e:

     A logical constant, 'TRUE' if argument 'graph' is a graph object.

_A_u_t_h_o_r(_s):

     Gabor Csardi csardi@rmki.kfki.hu

_E_x_a_m_p_l_e_s:

     g <- graph.ring(10)
     is.igraph(g)
     is.igraph(numeric(10))

