Re: [R] Empty clusters in k-means - possible solution

2013-05-19 Thread Ranjan Maitra
There is a documented bug in R 2.15.2 and R 2.15.3. The developers decided not to fix this with an update, but it has been fixed with R 3.0.0 (perhaps also with R 3.0.1, which I have not tried myself). So, upgrading R should take care of this problem. HTH, Ranjan On Sun, 19 May 2013 16:17:30 +020

Re: [R] Empty clusters in k-means - possible solution

2013-05-19 Thread Luca Nanetti
Dear Simon, I respectfully disagree with you, when you say that it is NOT a bug. Empty clusters can only happen if one provides a set of centers; if one enters something like k=4, it cannot happen, so it must be a bug. Which one is your case? >From the help: "Except for the Lloyd-Forgy method, k