Q | R Documentation |
Computes a global modularity measure (Q) using the Louvain community detection algorithm
Q(A)
A |
An adjacency matrix of network data |
Returns Q or a measure of how well the communities in the network are compartmentalized
Alexander Christensen <alexpaulchristensen@gmail.com>
Blondel, V. D., Guillaume, J. L., Lambiotte, R., & Lefebvre, E. (2008). Fast unfolding of communities in large networks. Journal of Statistical Mechanics: Theory and Experiment, 2008, P10008.
Rubinov, M., & Sporns, O. (2010). Complex network measures of brain connectivity: Uses and interpretations. NeuroImage, 52, 1059-1069.
# Pearson's correlation only for CRAN checks
A <- TMFG(similarity(sim.fluency(100), method = "cor"))
modularity <- Q(A)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.