Ups... I understand now about your comment before that Kmeans has
problems to process one variable.

Thank you very much.
Unung


On Tue, 2004-05-11 at 21:40, TEMPL Matthias wrote:
> Sorry, to solve your question I had tried:
> 
> data(faithful)
> kmeans(faithful[c(1:20),1],10)
> Error: empty cluster: try a better set of initial centers
> 
> But when I run this a second time it will be ok.
> 
> 
> It seems, that kmeans has problems to initialize good starting points, because of 
> the random choose of these starting initial points.
> With kmeans(data,k,centers=c(...) the problem can be solved.
> Generally, the starting points can be choose equidistant on a hyperplane of the 
> data, which is also a simple way to get the intitial points 
> (www.fuzzyclustering.de , fc-package of Höppner, manual). 
> 
> 
> Thank you for your comment,
> Matthias

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to