[R] About K-means Clustering

Rui Barradas ruipbarradas at sapo.pt
Sun Oct 27 11:05:14 CET 2013


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.panchal23 at 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 at 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.
>



More information about the R-help mailing list