title: Plot horizontal dendrogram with hanging leaves? (R)
body: <p>I would like to create a dendrogram plot with horizontal labels, but having the leaves hang according to their height, instead of just drop to the edge of the plot.</p>
  
  <p>Example:</p>
  
  <pre><code>par(mfrow = c(1,2))
  hc &lt;- hclust(dist(USArrests), "ave")
  plot(hc) # a plot with hanging branches
  plot(as.dendrogram(hc), horiz = TRUE) # a horizontal plot, but the branches are not hanging
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/u8gAb.png" alt="enter image description here"></p>
  
  <p>Any suggestion on how this can be programmed?</p>
  
  <p>Thanks.</p>