lass="op">(</span><span class="va">iris_dist</span><span class="op">)</span><span class="op">)</span></span></span>
<span class="r-in"><span><span class="co"># we need to sort them to the order of the dendrogram:</span></span></span>
<span class="r-in"><span><span class="va">clusters</span> <span class="op">&lt;-</span> <span class="va">clusters</span><span class="op">[</span><span class="fu"><a href="https://rdrr.io/r/stats/order.dendrogram.html" class="external-link">order.dendrogram</a></span><span class