make_clusters | R Documentation |
This is useful to integrate the results of community finding algorithms that are not included in igraph.
make_clusters(
graph,
membership = NULL,
algorithm = NULL,
merges = NULL,
modularity = TRUE
)
graph |
The graph of the community structure. |
membership |
The membership vector of the community structure, a
numeric vector denoting the id of the community for each vertex. It
might be |
algorithm |
Character string, the algorithm that generated the community structure, it can be arbitrary. |
merges |
A merge matrix, for hierarchical community structures (or
|
modularity |
Modularity value of the community structure. If this
is |
A communities
object.
Community detection
as_membership()
,
cluster_edge_betweenness()
,
cluster_fast_greedy()
,
cluster_fluid_communities()
,
cluster_infomap()
,
cluster_label_prop()
,
cluster_leading_eigen()
,
cluster_leiden()
,
cluster_louvain()
,
cluster_optimal()
,
cluster_spinglass()
,
cluster_walktrap()
,
compare()
,
groups()
,
membership()
,
modularity.igraph()
,
plot_dendrogram()
,
split_join_distance()
,
voronoi_cells()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.