com.raphtory.algorithms.generic.centrality.Assortativity
Assortativity
Assortativity()
compute assortativity coefficient of networks
Assortativity coefficient is the Pearson coefficient between pairs of linked nodes the value is between [-1,1] positive value indicate a correlation between nodes of similar degree, and vice versa.
Note
The network is treated as undirected.
Returns
vertex name |
Assortativity |
---|---|
|
|