Learn R Programming

mixture (version 2.2.0)

ARI: Adjusted Rand Index

Description

Calculates an adjusted for chance Rand index.

Usage

ARI(x,y)

Arguments

References

Hubert, L. and P. Arabie (1985). Comparing partitions. Journal of Classification 2(1), 193-218.

Examples

Run this code
x <- sample(1:10, size = 100, replace = TRUE)
y <- sample(1:10, size = 100, replace = TRUE)
ARI(x,y)

Run the code above in your browser using DataLab