average_degree {clustAnalytics} | R Documentation |
Average Degree
Description
Average degree (weighted degree, if the graph is weighted) of a graph's communities.
Usage
average_degree(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 average degree of each community.
See Also
Other cluster scoring functions:
FOMD()
,
average_odf()
,
conductance()
,
coverage()
,
cut_ratio()
,
density_ratio()
,
edges_inside()
,
expansion()
,
internal_density()
,
max_odf()
,
normalized_cut()
,
scoring_functions()
,
weighted_clustering_coefficient()
,
weighted_transitivity()
Examples
data(karate, package="igraphdata")
average_degree(karate, membership(cluster_louvain(karate)))
[Package clustAnalytics version 0.5.5 Index]