[R] Dendrogram orientation

Gabor Grothendieck ggrothendieck at gmail.com
Tue Apr 1 03:41:15 CEST 2008


Try:

plot(as.dendrogram(dd1), horiz = TRUE, nodePar = list(lab.cex = .4))


On Thu, Mar 27, 2008 at 1:08 PM, Lassana TOURE <lassana.toure at ier.ml> wrote:
> I am using the two functions hclust and plot to draw a dendrogram. The
> result is a vertical dendrogram , but I prefer a horizontal one.
>
> Need help.
>
> This is my script:
>
>
>
> dd1=hclust(d1, method="ward")
>
> plot(dd1)
>
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list