Implementing the Elbow Method for finding the optimum number of clusters for K-Means Clustering in R [closed]
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I want to use K-Means Clustering for my dataset. I am using the kmeans() function in R for doing this. k<-kmeans(data,centers=3) plotcluster(m,k$cluster) However i am not sure what is the correct value of K for this function. I want to try using the Elbow Method for this. Are there any packages in R which perform clustering using the Elbow Method for finding the optimum number of clusters. Andy