lme4 (version 1.0-4)

mkMerMod: Create a merMod object

Description

Create an object in a subclass of merMod from the environment of the objective function and the value returned by the optimizer.

Usage

mkMerMod(rho, opt, reTrms, fr, mc)

Arguments

rho
the environment of the objective function
opt
the value returned by the optimizer
reTrms
reTrms list from the calling function
fr
model frame
mc
matched call from the calling function

Value

  • an object from a class that inherits from merMod