randIndex: Rand index of two partitions

View source: R/Functions.R

randIndexR Documentation

Rand index of two partitions

Description

Computes the Rand index, a measure of the similarity between two clusterings.

Usage

randIndex(tab, adjust = TRUE)

Arguments

tab

a matrix giving the cross-tabulation table of two clusterings.

adjust

logical: should the "adjusted" version be computed?

Value

the Rand index of the input table.

Author(s)

Steve Horvath

References

W. M. Rand (1971). "Objective criteria for the evaluation of clustering methods". Journal of the American Statistical Association 66: 846-850


WGCNA documentation built on Sept. 18, 2024, 5:08 p.m.

Related to randIndex in WGCNA...