But it won't be hard at allyou can likely get what you need using
the tapply() function (or ave)
Michael
On Tue, Feb 28, 2012 at 4:33 AM, ikuzar 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
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 th
On Mon, Feb 27, 2012 at 3:18 PM, ikuzar wrote:
> Hello,
>
> I'd like to classify data with kmeans algorithm. In my case, I should get 2
> clusters in output. Here is my data
>
> colCandInd colCandMed
> 1 82 2950.5
> 2 83 1831.5
> 3 1192 289
Hello,
I'd like to classify data with kmeans algorithm. In my case, I should get 2
clusters in output. Here is my data
colCandInd colCandMed
1 822950.5
2 83 1831.5
3 1192 2899.0
4 1193 2103.5
The first cluster is the t
4 matches
Mail list logo