The cut ratio of a graph's community is the total edge weight connecting the community
to the rest of the graph divided by number of unordered pairs of vertices such that one
belongs to the community and the other does not.
Usage
cut_ratio(g, com)
Value
Numeric vector with the cut ratio of each community.
Arguments
g
Graph to be analyzed (as an igraph object). If the edges have a "weight"
attribute, those will be used as weights.
com
community membership integer vector. Each element corresponds to a vertex.