Given a weighted graph and a partition into communities, returns the internal edge weight, the size, and the cut weight for each community.
auxiliary_functions(g, com, edgelist)
Graph to be analyzed (as an igraph
object)
Community membership vector. Each element corresponds to a vertex of the graph, and contains the index of the community it belongs to.
alternatively, the edgelist of the graph