Hello,

Both questions are answered in the help page for kmeans(). At an R prompt type

?kmeans

and read the section Value. The membership is given by 'cluster' and the centers by 'centers'. See also the very first example.

Hope this helps,

Rui Barradas

Em 27-10-2013 01:56, pragya.pancha...@gmail.com escreveu:
Hi,

I need some answers regarding to R.  In K-means clustering ,for  K=2, How can I 
find the members of each cluster and  What are the coordinates for the cluster 
centers?
Please send me a reply soon.


Thank You



Sent from Windows Mail
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to