For a network analysis, we are looking to calculate an assortativity coefficient or assortative mixing coefficient of a graph to state the homophily between two categories of nodes.
LightGraphs have a
assortativity function but as far we understand, it doesn’t seems to deal with node categories.
Is there any way to calculate the assortativity coefficient between two collections of vertices like with iGraph in R ? cf. igraph R manual pages
Références : Newman, M. E. J. 2003. « Mixing patterns in networks ». Physical Review E 67 (2) : 026126. Phys. Rev. E 67, 026126 (2003) - Mixing patterns in networks.
Thanks in advance for your help.