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