[R] how to use the result of hclust?

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


?cutree
?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,
>
>Michael.
>
>	[[alternative HTML version deleted]]
>
>______________________________________________
>R-help at 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
>
>  
>




More information about the R-help mailing list