</span>, <span class="fl">.666</span><span class="op">)</span>  <span class="co"># =&gt; acc = 0.4995</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> [1] 0.4995</span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># watch out for vectors:</span></span></span>
<span class="r-in"><span><span class="va">prev.range</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/seq.html" class="external-link">seq</a></span><sp