max_odf {clustAnalytics} | R Documentation |
Max Out Degree Fraction
Description
Computes the Maximum Out Degree Fraction (Max ODF) of a graph (which can be weighted) and its communities.
Computes the Flake Out Degree Fraction (Max ODF) of a graph (which can be weighted) and its communities.
Usage
max_odf(g, com)
max_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 Max ODF of each community.
Numeric vector with the Max ODF of each community.
See Also
Other cluster scoring functions:
FOMD()
,
average_degree()
,
average_odf()
,
conductance()
,
coverage()
,
cut_ratio()
,
density_ratio()
,
edges_inside()
,
expansion()
,
internal_density()
,
normalized_cut()
,
scoring_functions()
,
weighted_clustering_coefficient()
,
weighted_transitivity()
Other cluster scoring functions:
FOMD()
,
average_degree()
,
average_odf()
,
conductance()
,
coverage()
,
cut_ratio()
,
density_ratio()
,
edges_inside()
,
expansion()
,
internal_density()
,
normalized_cut()
,
scoring_functions()
,
weighted_clustering_coefficient()
,
weighted_transitivity()
Examples
data(karate, package="igraphdata")
max_odf(karate, membership(cluster_louvain(karate)))
data(karate, package="igraphdata")
max_odf(karate, membership(cluster_louvain(karate)))