View source: R/assortativity.R
assortativity.nominal | R Documentation |
assortativity.nominal()
was renamed to assortativity_nominal()
to create a more
consistent API.
assortativity.nominal(graph, types, directed = TRUE, normalized = TRUE)
graph |
The input graph, it can be directed or undirected. |
types |
Vector giving the vertex types. They as assumed to be integer
numbers, starting with one. Non-integer values are converted to integers
with |
directed |
Logical scalar, whether to consider edge directions for
directed graphs.
This argument is ignored for undirected graphs.
Supply
|
normalized |
Boolean, whether to compute the normalized assortativity. The non-normalized nominal assortativity is identical to modularity. The non-normalized value-based assortativity is simply the covariance of the values at the two ends of edges. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.