average_odf {clustAnalytics} | R Documentation |
Average Out Degree Fraction
Description
Computes the Average Out Degree Fraction (Average ODF) of a graph (which can be weighted) and its communities.
Usage
average_odf(g, com)
Arguments
g |
Graph to be analyzed (as an |
com |
Community membership integer vector. Each element corresponds to a vertex of the graph, and contains the index of the community it belongs to. |
Value
Numeric vector with the Average ODF of each community.
See Also
Other cluster scoring functions:
FOMD()
,
average_degree()
,
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_odf(karate, membership(cluster_louvain(karate)))
[Package clustAnalytics version 0.5.5 Index]