Community.Detection.Plot {MadanTextNetwork} | R Documentation |
Plot Community Detection in a Graph
Description
This function applies community detection to a graph and plots the result.
Usage
Community.Detection.Plot(network)
Arguments
network |
A graph object. |
Value
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.
Examples
## Not run:
# Assuming 'network' is a predefined graph object
# network <- make_graph("Zachary")
Community.Detection.Plot(network)
## End(Not run)
[Package MadanTextNetwork version 0.1.0 Index]