concordance | R Documentation |
Computes an index to compare two classifications.
concordance(x, y, method="adjustedRand",...)
x , y |
Classification vector or membership matrix. Alternatively, objects of type |
method |
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 y
.
method="adjustedWallace"
: Wallace index adjusted for random effects (Pinto et al. 2008).
A numeric vector with the desired index values.
Miquel De Cáceres, CREAF
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.
vegclust
, vegclass
, defuzzify
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.