aveNumEdges              package:graph              R Documentation

_C_a_l_c_u_l_a_t_e _t_h_e _a_v_e_r_a_g_e _n_u_m_b_e_r _o_f _e_d_g_e_s _i_n _a _g_r_a_p_h

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

     aveNumEdges divides the number of edges in the graph by the number
     of nodes to give the average number of edges.

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

     aveNumEdges(objgraph)

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

objgraph: the graph object 

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

     A double representing the average number of edges will be
     returned.

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

     Elizabeth Whalen

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

     'numEdges', 'mostEdges',  'numNoEdges'

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

      set.seed(124)
      g1 <- randomGraph(1:10, letters[7:12], p=.6)
      aveNumEdges(g1)

