fastgreedy.community {igraph} | R Documentation |
Community structure via greedy optimization of modularity
Description
fastgreedy.community()
was renamed to cluster_fast_greedy()
to create a more
consistent API.
Usage
fastgreedy.community(
graph,
merges = TRUE,
modularity = TRUE,
membership = TRUE,
weights = NULL
)
Arguments
graph |
The input graph |
merges |
Logical scalar, whether to return the merge matrix. |
modularity |
Logical scalar, whether to return a vector containing the modularity after each merge. |
membership |
Logical scalar, whether to calculate the membership vector corresponding to the maximum modularity score, considering all possible community structures along the merges. |
weights |
The weights of the edges. It must be a positive numeric vector,
|