[R] Save Cluster results to data frame

Chris Arthur chris.arthur at bristol.ac.uk
Mon May 18 13:21:17 CEST 2009

If I cluster my data into 3 sets, using pam for instance, is there a way 
to save the resultant cluster results, to the originating data frame. 
and related to that how do i say change the cluster names to something a 
bit more meaningful that 1..2...3

So it goes like this.

Data  ---> Cluster into 3 groups ----> given them meaningful names
--->output back to data frame

Thanks for the help


More information about the R-help mailing list