alpacaTidyConfig: Renumbering community membership vector

View source: R/ALPACA.R

alpacaTidyConfigR Documentation

Renumbering community membership vector

Description

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

Usage

alpacaTidyConfig(S)

Arguments

S

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

Value

The renumbered membership vector.

Examples

a <- 1 # example place holder

netZoo/netZooR documentation built on June 8, 2024, 6:20 a.m.