group.graph: Generate igraph Objects with Different Connection...

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Generate two groups of igraph object with different connection probabilities.

Usage

1
group.graph(V, cv = NULL, p1, p2 = NULL)

Arguments

V

The number of vertices.

cv

The assigned nodes with connection probability p2.

p1

The connection probability for group 1.

p2

The connection probability for group 2.

Details

If there is only one group, it is equivalent to the Erdos and Renyi model.

Value

An igraph object.

Author(s)

Taichi Wang <taichi43@stat.sinica.edu.tw>

See Also

erdos.renyi.game

Examples

1
group.graph(V=10, cv =1:3 , p1=1/10, p2 = 1/2)

SNscan documentation built on May 2, 2019, 8:26 a.m.