hi r-help,
i am doing kmeans clustering in stats. i tried for five clusters clustering using:
kcl1 <- kmeans(as1[,c("contlife","somlife","agglife","sexlife",
                        "rellife","hordlife","doutlife","symtlife","washlife",
                       "chcklife","rptlife","countlife","coltlife","ordlife")], 5, iter.max = 10, nstart = 1,
         algorithm = "Hartigan-Wong")
      table(kcl1$cluster)
every time i am getting five clusters of different sizes like first time with cluster sizes
table(kcl1$cluster)
  1   2   3   4   5 
140  72 105  98 112
second time with cluster sizes
table(kcl1$cluster)
  1   2   3   4   5 
 91 149 106  76 105 and so on.
I wish to know that whether there is any function to get same sizes of clusters everytime when we do kmeans clustering.
Thanks in advance.
regards,
Ms.Karunambigai M
PhD Scholar
Dept. of Biostatistics
NIMHANS
Bangalore
India


      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
	[[alternative HTML version deleted]]


