auxiliary_functions {clustAnalytics} | R Documentation |
Auxiliary Functions of a Graph Partition
Description
Given a weighted graph and a partition into communities, returns the internal edge weight, the size, and the cut weight for each community.
Usage
auxiliary_functions(g, com, edgelist)
Arguments
g |
Graph to be analyzed (as an |
com |
Community membership vector. Each element corresponds to a vertex of the graph, and contains the index of the community it belongs to. |
edgelist |
alternatively, the edgelist of the graph |
[Package clustAnalytics version 0.5.5 Index]