Optionalconfidence?: numberOptionalgroup2?: ArrayLike<string | number>Second crossed random-intercept factor (independent of group).
OptionalgroupNested?: ArrayLike<string | number>Inner nesting factor (nested within group).
Optionalintercept?: booleanOptionalmaxIter?: numberOptionalnames?: string[]Optionalreml?: booleanOptionalslope?: ArrayLike<number>Optional continuous covariate for random slope (correlated with intercept).
Random-intercept (+ optional independent random slope) linear mixed model via iterative GLS. Backward compatible: pass
groupfor RI-only; orslopecovariate for RI+RS. Nested two-level RI:group= outer,groupNested= inner (IDs unique within outer). Crossed RI:group+group2(independent intercepts).