powered by
Calculates an adjusted for chance Rand index.
ARI(x,y)
predictor class memberships
true class memberships
Nik Pocuca, Ryan P. Browne and Paul D. McNicholas.
Maintainer: Paul D. McNicholas <mcnicholas@math.mcmaster.ca>
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