[R] kmeans: how to retrieve clusters

R. Michael Weylandt michael.weylandt at gmail.com
Tue Feb 28 15:16:58 CET 2012


But it won't be hard at all....you can likely get what you need using
the tapply() function (or ave)

Michael

On Tue, Feb 28, 2012 at 4:33 AM, ikuzar <razuki at hotmail.fr> wrote:
> Hi,
>
> Ok, I understand what you mean.
>
> I wanted to get sorted data group by cluster  in output ...
> But I have to do it myself using kres$cluster
>
> thanks for your help
>
> --
> View this message in context: http://r.789695.n4.nabble.com/kmeans-how-to-retrieve-clusters-tp4426427p4427543.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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