Learn R Programming

WGCNA (version 1.61)

randIndex: 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.

References

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