Refit a (merMod
) model using the maximum likelihood criterion.
refitML(x, ...)
# S3 method for merMod
refitML (x, optimizer = "bobyqa", ...)
an object like x
but fit by maximum likelihood
a fitted model, usually of class
"lmerMod"
, to be refit according to the maximum
likelihood criterion.
optional additional parameters. None are used at present.
a string indicating the optimizer to be used.
This function is primarily used to get a maximum likelihood fit of a
linear mixed-effects model for an anova
comparison.
refit
and update.merMod
for more
extensive refitting.