Learn R Programming

doMIsaul (version 1.0.1)

CH: CH index

Description

Computes CH index for the selected number of clusters and clustering algorithm.

Usage

CH(data, k, method, Seed = 1)

Arguments

data

dataframe for which the number of cluster should be estimated.

k

integer, number of clusters.

method

string, clustering algorithm to use. The only available values for now are "kmed" for K-medians clustering and "kproto" for clustMixType::kproto() clustering.

Seed

If not null, passed to set.seed() before generating the partition.

Value

a list, containing the criterion value and the partition.