View source: R/scoring_functions_Rcpp.R
out_degree_fractions | R Documentation |
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)
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 |
A numeric matrix where each row corresponds to a community, and the columns contain the max, average and flake ODFs respectively.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.