Community.Detection.Plot {MadanTextNetwork} | 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)