library(amap) set.seed(5) Kmeans(mydata, 5, iter.max=500, nstart=1, method=\"euclidean\")
in \'amap\' package and run several times, but even thoug
Just a reminder that K-mean results are sensitive to the order of the data points in the data set. If you run again the proper code with randomized data points you will get a different result