| edges_inside {clustAnalytics} | R Documentation |
Edges Inside
Description
Number of edges inside a graph's communities, or their accumulated weight if the graph's edges are weighted.
Usage
edges_inside(g, com)
Arguments
g |
Graph to be analyzed (as an |
com |
community membership integer vector. Each element corresponds to a vertex. |
Value
Numeric vector with the internal edge weight of each community
See Also
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()
Examples
data(karate, package="igraphdata")
edges_inside(karate, membership(cluster_louvain(karate)))
[Package clustAnalytics version 0.5.5 Index]