index.KL {clusterSim} | R Documentation |
Calculates Krzanowski-Lai index
index.KL (x,clall)
x |
data |
clall |
Three vectors of integers indicating the cluster to which each object is allocated in partition of n objects into u-1, u, and u+1 clusters |
See file $R_HOME\library\clusterSim\pdf\indexKL_details.pdf for further details
Krzanowski-Lai index
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
Krzanowski, W.J., Lai, Y.T. (1988), A criterion for determining the number of groups in a data set using sum of squares clustering, "Biometrics", 44, 23-34.
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.
index.G1
, index.G2
, index.G3
,
index.S
, index.H
, index.Gap
library(clusterSim) data(data_ratio) cl1<-pam(data_ratio,4) cl2<-pam(data_ratio,5) cl3<-pam(data_ratio,6) clall<-cbind(cl1$clustering,cl2$clustering,cl3$clustering) index.KL(data_ratio,clall)