lassid:schoolid" "schoolid"</span>
<span class="co"># nlme</span>
<span class="fu"><a href="https://rdrr.io/r/base/names.html">names</a></span><span class="op">(</span><span class="va">fm2.lme</span><span class="op">$</span><span class="va">groups</span><span class="op">)</span>
<span class="co">#&gt; [1] "schoolid" "classid"</span></code></pre></div>
<p>Note how the orders of the grouping factors are opposite for <code>lme4</code> and <code>nlme</code>. In <code>lme4</code>, convention is to start at the l