</span></span></span>
<span class="r-in"><span><span class="co"># of abundances</span></span></span>
<span class="r-in"><span><span class="fu">community_overlap</span><span class="op">(</span>traits <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/matrix.html" class="external-link">as.matrix</a></span><span class="op">(</span><span class="va">dat</span><span class="op">$</span><span class="va">log_weight</span><span class="op">)</span>,</span></span>
<span class="r-in"><span>   sp 