The function calculates the assortativity of a network, that measures the preference of interactions between similar nodes. As in most literature, 'similarity' is here defined in terms of node degrees.
matrix indicating network structure (symmetric)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.