ARI {cata}R Documentation

Adjusted Rand index

Description

Calculate the adjusted Rand index (ARI) between two sets of cluster memberships.

Usage

ARI(x, y, signif = FALSE, n = 1000)

Arguments

x

vector of cluster memberships (integers)

y

vector of cluster memberships (integers)

signif

conduct significance test; default is FALSE

n

number of replicates in Monte Carlo significance test

Value

list of the following:

Author(s)

J.C. Castura

References

Hubert, L., & Arabie, P. (1985). Comparing partitions. Journal of Classification, 2, 193–218. doi:10.1007/BF01908075.

Qannari, E.M., Courcoux, P., & Faye, P. (2014). Significance test of the adjusted Rand index. Application to the free sorting task. Food Quality and Preference, 32, 93-97. doi:10.1016/j.foodqual.2013.05.005.

Examples

x <- sample(1:3, 20, replace = TRUE)
y <- sample(1:3, 20, replace = TRUE)

ARI(x, y, signif = FALSE)

[Package cata version 0.1.0.27 Index]