Community.Detection.Membership {MadanTextNetwork} | R Documentation |
Get Community Membership of a Graph
Description
This function applies community detection to a graph and returns the membership information of each node.
Usage
Community.Detection.Membership(network)
Arguments
network |
A graph object. |
Value
A data frame where each row represents a node in the graph, with columns for the node name and its corresponding community membership number. This information is useful for understanding the community structure within the graph.
Examples
## Not run:
network <- make_graph("Zachary")
membership_info <- Community.Detection.Membership(network)
print(membership_info)
## End(Not run)
[Package MadanTextNetwork version 0.1.0 Index]