View source: R/community_detection.R
find_communities | R Documentation |
Finds communities in the given graph and returns the graph after adding a vector "group" to its vertices
find_communities( graph, plot = TRUE, method = c("multilevel", "edgebetweenness", "fastgreedy", "eigenvector", "spinglass", "walktrap", "labelpropagation", "clique", "largescale") )
graph |
is the igraph object |
plot |
whether to plot the |
method |
is the method to find communities. Value can be "multilevel", "edgebetweenness", "fastgreedy", "eigenvector", "spinglass", "walktrap", "labelpropagation", "clique", "largescale" |
graph
object with membership attribute attached representing communities
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.