mod.matrix | R Documentation |
mod.matrix()
was renamed to modularity_matrix()
to create a more
consistent API.
mod.matrix(graph, membership, weights = NULL, resolution = 1, directed = TRUE)
membership |
Numeric vector, one value for each vertex, the membership vector of the community structure. |
weights |
If not |
resolution |
The resolution parameter. Must be greater than or equal to 0. Set it to 1 to use the classical definition of modularity. |
directed |
Whether to use the directed or undirected version of modularity. Ignored for undirected graphs. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.