calcProb: Calculate the hypergeometric probability of the subgraph's...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/edgefunctions.R

Description

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).

Usage

1
calcProb(subgraph, origgraph)

Arguments

subgraph

subgraph made from the original graph

origgraph

original graph object from which the subgraph was made

Value

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

Author(s)

Elizabeth Whalen

See Also

calcSumProb

Examples

1
 #none right now

vjcitn/graph documentation built on Dec. 23, 2021, 4:06 p.m.