an class="op">)</span> <span class="op">~</span> <span class="va">x1</span> <span class="op">+</span> <span class="va">x2</span> <span class="op">+</span> <span class="va">x3</span>, data<span class="op">=</span><span class="va">mydata</span><span class="op">)</span></span></code></pre></div><p>and then get useful diagnostics and plots with</p><div class="sourceCode"><pre><code><span></span>
<span>  <span class="fu"><a href="https://rdrr.io/r/stats/lm.influence.html" class="external-link">influence</a></spa