View source: R/madantextnetwork.r
Community.Detection.Membership | R Documentation |
This function applies community detection to a graph and returns the membership information of each node.
Community.Detection.Membership(network)
network |
A graph object. |
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.
## Not run:
network <- make_graph("Zachary")
membership_info <- Community.Detection.Membership(network)
print(membership_info)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.