powered by
Create a random split graph with a perfect core-periphery structure.
split_graph(n, p, core)
igraph object
number of nodes
probability of peripheral nodes to connect to the core nodes
fraction of nodes in the core
David Schoch
# split graph with 20 nodes and a core size of 10 split_graph(n = 20, p = 0.4, 0.5)
Run the code above in your browser using DataLab