powered by
Number of edges inside a graph's communities, or their accumulated weight if the graph's edges are weighted.
edges_inside(g, com)
Numeric vector with the internal edge weight of each community
Graph to be analyzed (as an igraph object). If the edges have a "weight" attribute, those will be used as weights.
igraph
community membership integer vector. Each element corresponds to a vertex.
Other cluster scoring functions: FOMD(), average_degree(), average_odf(), conductance(), coverage(), cut_ratio(), density_ratio(), expansion(), internal_density(), max_odf(), normalized_cut(), scoring_functions(), weighted_clustering_coefficient(), weighted_transitivity()
FOMD()
average_degree()
average_odf()
conductance()
coverage()
cut_ratio()
density_ratio()
expansion()
internal_density()
max_odf()
normalized_cut()
scoring_functions()
weighted_clustering_coefficient()
weighted_transitivity()
data(karate, package="igraphdata") edges_inside(karate, membership(cluster_louvain(karate)))
Run the code above in your browser using DataLab