index.H {clusterSim}R Documentation

Calculates Hartigan index

Description

Calculates Hartigan index

Usage

index.H (x,clall)

Arguments

x data
clall Two vectors of integers indicating the cluster to which each object is allocated in partition of n objects into u and u+1 clusters

Details

See file $R_HOME\library\clusterSim\pdf\indexH_details.pdf for further details

Value

Hartigan index

Author(s)

Marek Walesiak Marek.Walesiak@ae.jgora.pl, Andrzej Dudek Andrzej.Dudek@ae.jgora.pl

Department of Econometrics and Computer Science, University of Economics, Wroclaw, Poland http://www.ae.jgora.pl/keii

References

Hartigan, J. (1975), Clustering algorithms, Wiley, New York.

Milligan, G.W., Cooper, M.C. (1985), An examination of procedures of determining the number of cluster in a data set, "Psychometrika", vol. 50, no. 2, pp. 159-179.

Tibshirani, R., Walther, G., Hastie, T. (2001), Estimating the number of clusters in a data set via the gap statistic, "Journal of the Royal Statistical Society", ser. B, vol. 63, part 2, 411-423.

See Also

index.G1, index.G2, index.G3, index.S, index.KL, index.Gap

Examples

library(clusterSim)
data(data_ratio)
cl1<-pam(data_ratio,4)
cl2<-pam(data_ratio,5)
clall<-cbind(cl1$clustering,cl2$clustering)
index.H(data_ratio,clall)

[Package clusterSim version 0.33-1 Index]