horizontal dendrogram in R with labels
问题 I am trying to draw a dendrogram from the hclust function output. I hope the dendrogram is horizontally arranged instead of the default, which can be obtain by (for example) require(graphics) hc <- hclust(dist(USArrests), "ave") plot(hc) I tried to use as.dendrogram() function like plot(as.dendrogram(hc.poi),horiz=TRUE) but the result is without meaningful labels: If I use plot(hc.poi,labels=c(...)) which is without the as.dendrogram() , I can pass the labels= argument, but now the dendrogram