RandIndex | R Documentation |
Computes Rand, adjusted Rand, Fowlkes and Mallows, and Merkin indices.
RandIndex(id1, id2)
id1 |
first partitioning vector. |
id2 |
second partitioning vector. |
R |
Rand's index. |
AR |
adjusted Rand's index. |
F |
Fowlkes and Mallows index. |
M |
Mirkin metric. |
Volodymyr Melnykov, Wei-Chen Chen, and Ranjan Maitra.
Rand, W.M. (1971) “Objective criteria for the evaluation of clustering methods”, Journal of the American Statistical Association, 66:336, 846-850.
Maitra, R. and Melnykov, V. (2010) “Simulating data to study performance of finite mixture modeling and clustering algorithms”, The Journal of Computational and Graphical Statistics, 2:19, 354-376.
Meila, M. (2006) “Comparing clusterings - an information based distance”, Journal of Multivariate Analysis, 98, 873-895.
Melnykov, V., Chen, W.-C., and Maitra, R. (2012) “MixSim: An R Package for Simulating Data to Study Performance of Clustering Algorithms”, Journal of Statistical Software, 51:12, 1-25.
MixSim
, pdplot
, simdataset
, ClassProp
,
and VarInf
.
id1 <- c(rep(1, 50), rep(2,100))
id2 <- rep(1:3, each = 50)
RandIndex(id1, id2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.