Tag Archives: kmeans

Clustering in R

There is a nice post at https://stackoverflow.com/questions/15376075/cluster-analysis-in-r-determine-the-optimal-number-of-clusters that provide a number of examples to illustrate how to determine number of clusters. Below are two examples: # prepare data from a dataframe # var1 includes one group # var2 includes second group … Continue reading

Posted in R, R/S-Plus | Tagged , , , , | Leave a comment