powered by
Adjusted Rand index
Adj.Rand(cl1, cl2)
First classification (character vector of group names)
Second classification
Similarity: numerical vector of length 1
Adjusted Rand Index.
Hubert L. and Arabie P. 1985. Comparing partitions. Journal of Classification. 2. 193--218.
Misclass
# NOT RUN { iris.dist <- dist(iris[, 1:4], method="manhattan") iris.hclust <- hclust(iris.dist) iris.3 <- cutree(iris.hclust, 3) Adj.Rand(iris.3, iris[, 5]) # }
Run the code above in your browser using DataLab