tidyconfig: Renumbering community membership vector

Description Usage Arguments Value Examples

View source: R/ALPACAFunctions.R

Description

This is a helper function genlouvain. It re-numbers the communities so that they run from 1 to N increasing through the vector.

Usage

1

Arguments

S

The community membership vector derived from the previous round of agglomeration.

J

The modularity matrix

Value

The renumbered membership vector.

Examples

1

meghapadi/ALPACA documentation built on Oct. 20, 2017, 6:40 a.m.