calcProb {graph} | R Documentation |
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).
calcProb(subgraph, origgraph)
subgraph |
subgraph made from the original graph |
origgraph |
original graph object from which the subgraph was made |
The probability of the subgraph's number of edges is returned.
Elizabeth Whalen
#none right now