)</span>,</span>
<span class='r-in'>              penalty <span class='op'>=</span> <span class='st'>"lasso"</span>,</span>
<span class='r-in'>              progress <span class='op'>=</span> <span class='cn'>FALSE</span><span class='op'>)</span></span>
<span class='r-in'></span>
<span class='r-in'><span class='co'># set negatives to zero (sign restriction)</span></span>
<span class='r-in'><span class='va'>adj_new</span> <span class='op'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/ifelse.h