Computes an index to compare two classifications.
Classification vector or membership matrix. Alternatively, objects of type
A string vector to indicate the desired indices (see details).
Additional parameters for function
Several indices for comparison of partitions are available:
method="Rand": Rand (1971) index.
method="adjustedRand": Rand index adjusted for random effects (Hubert & Arabie 1985).
method="Wallace": Wallace (1983) index (for asymmetrical comparisons). This index (and its adjusted version) is useful to quantify how much
x is nested into
method="adjustedWallace": Wallace index adjusted for random effects (Pinto et al. 2008).
A numeric vector with the desired index values.
Miquel De Cáceres, Forest Science Center of Catalonia
Hubert, L. & Arabie, P. (1985). Comparing partitions. Journal of Classification, 2, 193–218.
Pinto, F.R., Melo-Cristino, J. & Ramirez, M. (2008). A confidence interval for the wallace coefficient of concordance and its application to microbial typing methods. PLoS ONE, 3.
Rand, W.M. (1971). Objective Criteria for the Evaluation of Clustering Methods. Journal of the American Statistical Association, 66, 846–850.
Wallace, D.L. (1983). A method for comparing two hierarchical clusterings: Comment. Journal of the American Statistical Association, 78, 569–576.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.