CalHar: Calinski-Harabasz Index
Description
Calculates the Calinski-Harabasz index (ratio of between-cluster to
within-cluster dispersion; higher values indicate better separation).
Usage
CalHar(data, assign, means)
Value
Numeric scalar; higher values indicate better separation.
Arguments
- data
Numeric matrix of observations.
- assign
Vector of cluster assignments.
- means
List of cluster mean vectors.