ower</span> <span class="op">&lt;-</span> <span class="fl">0.90</span></span>
<span><span class="va">first_over</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/which.min.html" class="external-link">which.min</a></span><span class="op">(</span><span class="va">powers</span> <span class="op">&lt;=</span> <span class="va">target_power</span><span class="op">)</span></span>
<span><span class="va">interval</span> <span class="op">&lt;-</span> <span class="va">thetas</span><s