Normalized cut of a graph's communities, which is given by
$$\frac{c_s}{2m_s+c_s}+\frac{c_s}{2(m-m_s)+c_s}$$,
where \(c_s\) is the weight of the edges connecting the community s to the rest
of the graph, \(m_s\) is the internal weight of the community, and \(m\) is
the total weight of the network.
Usage
normalized_cut(g, com)
Value
Numeric vector with the normalized cut 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.