Re: [R] K-means recluster data with given cluster centers

2010-01-11 Thread Christian Hennig
That kmeans returns an error if there is an empty cluster is a bit of a nuisance. It should not be too difficult to get rid off the kmeans function for what you call "reclustering". You could write your own function that assigns every point of the new data to the closest initial center. That s

[R] K-means recluster data with given cluster centers

2010-01-11 Thread t . peter . Mueller
K-means recluster data with given cluster centers Dear R user, I have several large data sets. Over time additional new data sets will be created. I want to cluster all the data in a similar/ identical way with the k-means algorithm. With the first data set I will find my cluster centers and s