Re: [R] about cutree

From: Romain Francois <francoisromain_at_free.fr>
Date: Fri 16 Sep 2005 - 17:58:16 EST

Le 15.09.2005 17:26, Baoqiang Cao a écrit :

>Hi Everyone,
>
>I'm trying to use cutree to get the clusters after hclust. What I used is: mycluster<-cutree(cnclust,h=0.5)
>Now, my problem is, how can I get the actual clusters? Thanks!
>
>Best,
> Baoqiang Cao
>
>
Hello,

If you mean getting the labels in the same order than presented by the dendrogram (( Why isn't it the default BTW )), try using cutree.order in package A2R here http://addictedtor.free.fr/packages/A2R/

Regards,

Romain

-- 
visit the R Graph Gallery : http://addictedtor.free.fr/graphiques
~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
~~~~~~      Romain FRANCOIS - http://addictedtor.free.fr         ~~~~~~
~~~~        Etudiant  ISUP - CS3 - Industrie et Services           ~~~~
~~                http://www.isup.cicrp.jussieu.fr/                  ~~
~~~~           Stagiaire INRIA Futurs - Equipe SELECT              ~~~~
~~~~~~   http://www.inria.fr/recherche/equipes/select.fr.html    ~~~~~~
~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Wed Sep 21 02:42:02 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 17:22:34 EST