title: Show dendrogram node values in R
body: <p>I am using the hclust function:</p>
  <pre><code>points &lt;- data.frame(ID = c('A','B','C','D','E'), 
                   x = c(3,4,2.1,4,7), 
                   y = c(6.1,2,5,6,3))
  d &lt;- dist(as.matrix(points[, 2:3])) 
  clusters &lt;- hclust(d,method = &quot;complete&quot;)
  plot(clusters, labels=points$ID)
  </code></pre>
  <p>Is there a way to show the values where the points are joined (or the node values (where the dissimilarity between the samples is minimal))?</p>
  <p>I want my plot to look like the one on the picture.</p>
  <p>Note: The values showed on the dendrogram are not the correct ones.</p>
  <p><a href="https://i.stack.imgur.com/HpCAn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HpCAn.png" alt="Dendogram" /></a></p>