View source: R/scoring_functions_Rcpp.R
auxiliary_functions | R Documentation |
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)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.