Description Usage Arguments Value Author(s) Examples
Suppose we know the true cluster results beforehand. clusterStat provides Rand, adjusted Rand, Jaccard index to measure the quality of a cluster results.
1 | clusterStat(trueGroup, group)
|
trueGroup |
The true cluster results. |
group |
The estimated cluster results, not neccessary calculating by PRclust. |
The return value is a "clusterStat" class, providing the following information.
Rand |
Rand Index |
AdjustedRand |
Adjusted Rand Index |
Jaccard |
Jaccard Index |
Chong Wu
1 2 3 4 5 | a <- rep(1:3,3)
a
b <- rep(c(4:6),3)
b
clusterStat(a,b)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.