    A  0 100 30 10</span>
<span class="r-out co"><span class="r-pr">#&gt;</span>    B 50   0 50  5</span>
<span class="r-out co"><span class="r-pr">#&gt;</span>    C 10  40  0 40</span>
<span class="r-out co"><span class="r-pr">#&gt;</span>    D 20  25 20  0</span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># threshold on in and out region</span></span></span>
<span class="r-in"><span><span class="fu">sum_lump</span><span class="op">(</span><span class="va">m</span>, t