Re: [R] assigning cluster id in cluster package-reg.

2013-04-23 Thread Ramesh krishnan Ramasamy
Dear Sir, Thanks a lot for your reply. I have some doubts as follows, please clarify me... I am using codes from your reply (ck3 <- cutree(ag.ag, k = 3)) ## In this step we are cutting the tress and getting cluster assignments, on what basis you assigned k=3? (ch6 <- cutree(as.hclust(ag.ag), h =

Re: [R] assigning cluster id in cluster package-reg.

2013-04-23 Thread Martin Maechler
Well, you don't give much of an example I'm replying CC to the R mailing list. Please ask questions there, rather than adressing individuals for basic help. Here is one; does it answer your question ? data(agriculture) ag.ag <- agnes(agriculture) class(ag.ag) pltree(ag.ag) # the dendrogram