| assortativity.nominal {igraph} | R Documentation |
Assortativity coefficient
Description
assortativity.nominal() was renamed to assortativity_nominal() to create a more
consistent API.
Usage
assortativity.nominal(graph, types, directed = TRUE, normalized = TRUE)
Arguments
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. |