title: Looping regression with conditions to remove specific coefficients
body: <p>So I understand how to do a stepwise regression, for instance:</p>
  
  <pre><code>fit &lt;- step(lm(y~x, data=df)
  </code></pre>
  
  <p>Is there a way to create a loop that would work as follows:</p>
  
  <pre><code>1) stepwise regression - call it "fit"
  2) re-run stepwise regression excluding coefficients &gt; 1,000 from "fit"
  3) continue process until all coefficients are &lt;= 1,000
  </code></pre>
  
  <p>Thank you</p>