calcProb                package:graph                R Documentation

_C_a_l_c_u_l_a_t_e _t_h_e _h_y_p_e_r_g_e_o_m_e_t_r_i_c _p_r_o_b_a_b_i_l_i_t_y _o_f _t_h_e _s_u_b_g_r_a_p_h'_s _n_u_m_b_e_r _o_f 
_e_d_g_e_s.

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

     'calcProb' calculates the probability of having the number of
     edges found in the subgraph given that it was made from
     'origgraph'. The hypergeometric distribution is used to calculate
     the  probability (using the pdf).

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

     calcProb(subgraph, origgraph)

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

subgraph: subgraph made from the original graph 

origgraph: original graph object from which the subgraph was made 

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

     The probability of the subgraph's number of edges is returned.

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

     Elizabeth Whalen

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

     'calcSumProb'

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

      #none right now

