[R] how to use the result of hclust?

Jacques VESLOT jacques.veslot at cirad.fr
Wed Mar 15 11:11:43 CET 2006

?plot.hclust & ?identify.hclust
hc    <- hclust(dist(tab, "manhattan"), "ward")
plot(hc, hang=-1)
(x <- identify(hc))

cutree(hc, 2)

Michael a écrit :

>Hi all,
>Does hclust provide concrete clustered results? I could not see how to use
>it to make 6 clusters... and it does not give the 6 cluster labels...
>How to use the result of hclust?
>thanks a lot,
>	[[alternative HTML version deleted]]
>R-help at stat.math.ethz.ch mailing list
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

More information about the R-help mailing list