View source: R/edgefunctions.R
calcProb | 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
calcSumProb
#none right now
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.