Hi,

I have searched a methode to rotate a dendrogramm with the leafs to the left

The dendrogram with the leafs to the bottom.
> plot(hclust(dist(USArrests), "ave"))

plot from the dendrogram{stats} packages can rotate the dendrogram, but
only with the leafs to the right.
> plot(as.dendrogram(hclust(dist(USArrests), "ave")), horiz=TRUE)

draw.dendrogram from the NeatMap packages can rotate the dendrogram, but
here are the object-names (x-axis) missing.
> library(NeatMap)
> ggplot.default() + theme_bw() +
draw.dendrogram(hclust(dist(USArrests), "ave"), dendro.dir="right")


How can I reflect the dendrogram from plot 2 or add the names to plot 3?

Thanks.

-- 
Mit freundlichen Grüßen

Dipl. Ing. (FH) Ralph Modjesch

______________________________________________
R-help@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.

Reply via email to