ClassProp | R Documentation |
Computes the agreement proportion between two classification vectors.
ClassProp(id1, id2)
id1 |
first partitioning vector. |
id2 |
second partitioning vector. |
Returns the value of the proportion of agreeing elements.
Volodymyr Melnykov, Wei-Chen Chen, and Ranjan Maitra.
Meila, M. (2006) “Comparing clusterings - an information based distance”, Journal of Multivariate Analysis, 98, 873-895.
RandIndex
, and VarInf
.
id1 <- c(rep(1, 50), rep(2,100))
id2 <- rep(1:3, each = 50)
ClassProp(id1, id2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.