> Gabor Grothendieck
> on Fri, 2 Jul 2010 18:50:28 -0400 writes:
> In kmeans() in stats one gets an error message with the default
> clustering algorithm if centers = 1. Its often useful to calculate
> the sum of squares for 1 cluster, 2 clusters, etc. and this error
In kmeans() in stats one gets an error message with the default
clustering algorithm if centers = 1. Its often useful to calculate
the sum of squares for 1 cluster, 2 clusters, etc. and this error
complicates things since one has to treat 1 cluster as a special case.
A second reason is that easil