walktrap.community | R Documentation |
walktrap.community()
was renamed to cluster_walktrap()
to create a more
consistent API.
walktrap.community(
graph,
weights = NULL,
steps = 4,
merges = TRUE,
modularity = TRUE,
membership = TRUE
)
graph |
The input graph, edge directions are ignored in directed graphs. |
weights |
The weights of the edges. It must be a positive numeric vector,
|
steps |
The length of the random walks to perform. |
merges |
Logical scalar, whether to include the merge matrix in the result. |
modularity |
Logical scalar, whether to include the vector of the
modularity scores in the result. If the |
membership |
Logical scalar, whether to calculate the membership vector for the split corresponding to the highest modularity value. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.