c_rs_table: Contingency table from membership vectors

View source: R/RcppExports.R

c_rs_tableR Documentation

Contingency table from membership vectors

Description

Given two membership vectors, returns the corresponding contingency table. we assume the labels are >=1 and numbered consecutively. If not consecutive (some labels are unused) this implementation still works, but will be less efficient.

Usage

c_rs_table(c1, c2)

Arguments

c1, c2

membership vectors (integer values containing the index of each community)


martirm/clustAnalytics documentation built on Feb. 21, 2024, 4:53 p.m.