signed_modularity for class(x) = 'igraph'
1 2 | ## S4 method for signature 'igraph'
signed_modularity(x, membership, weight = NULL)
|
x |
An igraph object |
membership |
Defines vertex membership to determine if vertices are similar. May be provided as a string that matches an attribute of x or a vector of length equal to the number of vertices in the graph. |
weight |
Edge weights. Like 'membership', this argument can be defined as a string matching an edge attribute of 'x' or a vector of length equal to the number of edges, but may also be left as NULL which will return an unweighted modularity estimate. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.