auxiliary_functions: Auxiliary Functions of a Graph Partition

View source: R/scoring_functions_Rcpp.R

auxiliary_functionsR Documentation

Auxiliary Functions of a Graph Partition

Description

Given a weighted graph and a partition into communities, returns the internal edge weight, the size, and the cut weight for each community.

Usage

auxiliary_functions(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


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