[R] algorithm used in k-mean clustering

From: Asha Jayanthi <ashajayanthi_at_hotmail.com>
Date: Sat 23 Apr 2005 - 05:30:02 EST


I have used the kmean fucntion in R to produce some results for my analysis.

I like to know the specific underlying algorithm used for the implementation of the function kmean in R. I tried looking for some documents but could not find any.

I obtained the kmean result for k ranging from 2 to 10. When i did this initally it worked perfectly. When i tried running again i get the error

Error: empty cluster: try a better set of initial centers

and i have not changed anything in the code. And i get this error only for k = 2 and 10.

does anyone know why it worked well intially and failed now?


Will he be rookie of the year?

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Apr 23 05:35:26 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:22 EST