Given a weighted graph and a partition into communities, returns the maximum, average and flake out degree fractions of each community.
out_degree_fractions(g, com, edgelist)
A numeric matrix where each row corresponds to a community, and the columns contain the max, average and flake ODFs respectively.
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