n used in a loop, such as when using simulation-based diagnostics.</p>
<p><code><a href="../reference/pull_resid.default.html">pull_resid()</a></code> takes three parameters, <code>object</code>, <code>type</code>, and <code>standardize</code>. The parameters <code>object</code> and <code>standardize</code> work identically as they do in <code><a href="../reference/hlm_resid.default.html">hlm_resid()</a></code>, and the new parameter, <code>type</code>, can be set to:</p>
<ul>
<li>
<code>"ls"</code> to retu