| modularity.cograph_communities | R Documentation |
Get Modularity Score
modularity.cograph_communities(x, graph = NULL, ...)
x |
A cograph_communities object |
graph |
Optional igraph object for recalculation |
... |
Additional arguments |
Numeric modularity value
g <- igraph::make_graph("Zachary")
comm <- community_louvain(g)
igraph::modularity(comm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.