Create an object of (a subclass of) class merMod
from the environment of the objective function and the value returned
by the optimizer.
mkMerMod(rho, opt, reTrms, fr, mc, lme4conv = NULL)
an object from a class that inherits from merMod
.
the environment of the objective function
the optimization result returned by the optimizer
(a list
: see lmerControl
for required elements)
random effects structure from the calling function
(see mkReTrms
for required elements)
model frame (see model.frame
)
matched call from the calling function
lme4-specific convergence information
(results of checkConv
)