sample_graph: sample graph

Description Usage Arguments Value Note Author(s) Examples

View source: R/homogeneous_GoF.R

Description

takes igraph and samples and gets edges

Usage

1
sample_graph(g, n, k)

Arguments

g

igraph object

n

number of nodes to sample

k

number of sampled graphs

Value

vector of edges in each sampled graph

Note

14-Jan-2015

Author(s)

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

Examples

1
2
g = igraph::erdos.renyi.game(100,0.1)
sample_graph(g,n=50,100)

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