s case</span></a>
<a class="sourceLine" id="cb4-3" data-line-number="3"><span class="co"># 9 ids per bin</span></a>
<a class="sourceLine" id="cb4-4" data-line-number="4"></a>
<a class="sourceLine" id="cb4-5" data-line-number="5"><span class="co"># split the original dataset into subdatasets corresponding to each bin (list of dataframes)</span></a>
<a class="sourceLine" id="cb4-6" data-line-number="6">split_dat &lt;-<span class="st"> </span>dat <span class="op">%&gt;%</span><span class="st"> </span></a>
<a c