in'><span class='va'>adj_new</span> <span class='op'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/ifelse.html'>ifelse</a></span><span class='op'>(</span> <span class='fu'><a href='https://rdrr.io/r/base/MathFun.html'>abs</a></span><span class='op'>(</span><span class='va'>fit</span><span class='op'>$</span><span class='va'>P</span><span class='op'>)</span> <span class='op'>&lt;=</span> <span class='fl'>0.1</span>, <span class='fl'>0</span>, <span class='fl'>1</span><span class='op'>)</span>