caha {SAGx} | R Documentation |
Calculates a goodness of clustering measure based the ratio of between to within sum squares:
caha=BSS*n/[WSS*(n-k)]
caha(data,cluster)
data |
The data matrix |
cluster |
a vector descibing the cluster memberships consecutive numbers. |
The Calinski-Harabasz index
Per Broberg
Calinski, R.B. and Harabasz, J. (1974) A dendrite method for cluster analysis, Communications in statistics 3, 1-27