ovides wrapper functions to all types of residuals implemented in <code>lme4</code> and <code>nlme</code> as well as providing access to the marginal and least squares residuals. For influence diagnostics, <code>HLMdiag</code> provides functions to calculate Cook’s distance, MDFFITS, covariance trace and ratio, relative variance change, and leverage.</p>
<div id="installation" class="section level2">
<h2 class="hasAnchor">
<a href="#installation" class="anchor"></a>Installation</h2>
<p>If you would like t