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)


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