CH indexComputes CH index for the selected number of clusters and clustering algorithm.
CH(data, k, method, Seed = 1)dataframe for which the number of cluster should be estimated.
integer, number of clusters.
string, clustering algorithm to use. The only available values
for now are "kmed" for K-medians clustering and
"kproto" for clustMixType::kproto() clustering.
If not null, passed to set.seed() before generating
the partition.
a list, containing the criterion value and the partition.