clusterStat {prclust} | R Documentation |
External Evaluation of Cluster Results
Description
Suppose we know the true cluster results beforehand. clusterStat provides Rand, adjusted Rand, Jaccard index to measure the quality of a cluster results.
Usage
clusterStat(trueGroup, group)
Arguments
trueGroup |
The true cluster results. |
group |
The estimated cluster results, not neccessary calculating by PRclust. |
Value
The return value is a "clusterStat" class, providing the following information.
Rand |
Rand Index |
AdjustedRand |
Adjusted Rand Index |
Jaccard |
Jaccard Index |
Author(s)
Chong Wu
Examples
a <- rep(1:3,3)
a
b <- rep(c(4:6),3)
b
clusterStat(a,b)
[Package prclust version 1.3 Index]