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 <raz...@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@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.