graph_to_hyper: graph to hypergeometric

Description Usage Arguments Value Note Author(s) Examples

View source: R/homogeneous_GoF.R

Description

takes a graph and sampling size and converts to equivalent hypergeometic

Usage

1

Arguments

g

igraph object

n

number of nodes sampled

Value

list of hypergeometric parameters

Note

25-Jan-2015

Author(s)

Jonathan Tuke <simon.tuke@adelaide.edu.au>

Examples

1
2
3
g = igraph::erdos.renyi.game(100,0.1)
n <-  get_sample_size(100)
graph_to_hyper(g, n)

jonotuke/graphr documentation built on May 19, 2019, 8:37 p.m.