[R] Related with "kmeans"

msck9@mizzou.edu msck9 at mizzou.edu
Tue Jan 25 03:02:51 CET 2005


Hi, 
 I am new here. 
 I used y<-kmeans(x, 2)(x is a vector) to do the cluster analysis. I get 
 y has $cluster, $center etc. I need to pull out the data belong to
 cluster 1 and cluster 2. How can I do that? 

 Thanks,
 Ming




More information about the R-help mailing list