| split_graph | R Documentation | 
Create a random split graph with a perfect core-periphery structure.
split_graph(n, p, core)
| n | number of nodes | 
| p | probability of peripheral nodes to connect to the core nodes | 
| core | fraction of nodes in the core | 
igraph object
David Schoch
# split graph with 20 nodes and a core size of 10
split_graph(n = 20, p = 0.4, 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.