out_degree_fractions: Maximum, Average, and Flake Out Degree Fractions of a Graph...

View source: R/scoring_functions_Rcpp.R

out_degree_fractionsR Documentation

Maximum, Average, and Flake Out Degree Fractions of a Graph Partition

Description

Given a weighted graph and a partition into communities, returns the maximum, average and flake out degree fractions of each community.

Usage

out_degree_fractions(g, com, edgelist)

Arguments

g

Graph to be analyzed (as an igraph object)

com

Community membership vector. Each element corresponds to a vertex of the graph, and contains the index of the community it belongs to.

edgelist

alternatively, the edgelist of the graph

Value

A numeric matrix where each row corresponds to a community, and the columns contain the max, average and flake ODFs respectively.


clustAnalytics documentation built on May 29, 2024, 12:18 p.m.