rand {blockmodeling} | R Documentation |
Rand Index and Rand Index corrected/adjusted for chance for comparing partitions (Hubert & Arabie, 1985). The names of the clusters do not matter.
rand(tab) rand2(clu1, clu2) crand(tab) crand2(clu1, clu2)
clu1, clu2 |
The two partitions to be compared, given in the form of vectors, where for each unit a cluster membership is given. |
tab |
A contingency table obtained as a table(clu1, clu2). |
The value of Rand Index (corrected/adjusted for chance).
Aleš Žiberna
Hubert, L., & Arabie, P. (1985). Comparing Partitions. Journal of Classification, 2(1), 193-218.