graph_kpartite | R Documentation |
Create a random k-partite graph.
graph_kpartite(n = 10, grp = c(5, 5))
n |
number of nodes |
grp |
vector of partition sizes |
igraph object
David Schoch
# 3-partite graph with equal sized groups
graph_kpartite(n = 15, grp = c(5, 5, 5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.