View source: R/madantextnetwork.r
Community.Detection.Plot | R Documentation |
This function applies community detection to a graph and plots the result.
Community.Detection.Plot(network)
network |
A graph object. |
A plot visualizing the graph with nodes colored according to their community membership. The plot also displays the modularity score as a sub-title, indicating the strength of the community structure.
## Not run:
# Assuming 'network' is a predefined graph object
# network <- make_graph("Zachary")
Community.Detection.Plot(network)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.