ARI | R Documentation |
Compares two classifications using the adjusted Rand index (ARI).
ARI(x=NULL, y=NULL)
x |
A n dimensional vector of class labels. |
y |
A n dimensional vector of class labels. . |
The ARI has expected value 0 in case of random partition, it is equal to one in case of perfect agreement..
The adjusted Rand index value
Cristina Tortora Maintainer: Cristina Tortora <cristina.tortora@sjsu.edu>
L. Hubert and P. Arabie (1985) Comparing Partitions, Journal of the Classification 2:193-218.
##loading banknote data data(banknote) ##model estimation res=MGHD(data=banknote[,2:7], G=2 ) #result ARI(res@map, banknote[,1])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.