WGCNA (version 1.72-5)

randIndex: Rand index of two partitions

Description

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

Usage

randIndex(tab, adjust = TRUE)

Value

the Rand index of the input table.

Arguments

tab

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

adjust

logical: should the "adjusted" version be computed?

Author

Steve Horvath

References

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