split_graph {netUtils} | R Documentation |
split graph
Description
Create a random split graph with a perfect core-periphery structure.
Usage
split_graph(n, p, core)
Arguments
n |
number of nodes |
p |
probability of peripheral nodes to connect to the core nodes |
core |
fraction of nodes in the core |
Value
igraph object
Author(s)
David Schoch
Examples
#split graph with 20 nodes and a core size of 10
split_graph(n = 20, p = 0.4, 0.5)
[Package netUtils version 0.8.2 Index]