Comparison of two sets of clusters, using kappa
Comparison of two sets of clusters, using kappa
compare.kappa(clus, gt, comp = c("max", "pairwise", "cluster"))
clus |
The extracted clusters. |
gt |
The real clusters. |
comp |
Indicates whether a "max" or a "pairwise" evaluation should be used, or the evaluation for each individual "cluster". |
A numeric value indicating how much the two sets of clusters are similar.
require (datasets) data (iris) km = KMEANS (iris [, -5], k = 3) compare.kappa (km$cluster, iris [, 5])
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.