Learn R Programming

clues (version 0.6.2.2)

get_CH: Compute CH Index

Description

Compute CH index for a given partition of a data set.

Usage

get_CH(y, mem, disMethod = "Euclidean")

Arguments

y

data matrix which is an R matrix object (for dimension > 1) or vector object (for dimension=1) with rows be observations and columns be variables.

mem

vector of the cluster membership of data points. The cluster membership takes values: \(1\), \(2\), \(\ldots\), \(g\), where \(g\) is the estimated number of clusters.

disMethod

specification of the dissimilarity measure. The available measures are “Euclidean” and “1-corr”.

Value

The value of the CH index.

References

Calinski, R.B., Harabasz, J., (1974). A dendrite method for cluster analysis. Communications in Statistics, Vol. 3, pages 1-27.

Wang, S., Qiu, W., and Zamar, R. H. (2007). CLUES: A non-parametric clustering method based on local shrinking. Computational Statistics & Data Analysis, Vol. 52, issue 1, pages 286-298.

Examples

Run this code
# NOT RUN {
    data(Maronna)
    # data matrix
    maronna <- Maronna$maronna

    # cluster membership
    maronna.mem <- Maronna$maronna.mem
     
    get_CH(maronna, maronna.mem)
# }

Run the code above in your browser using DataLab