NelderMead-class {lme4} | R Documentation |
"NelderMead"
of Nelder-Mead optimizers and its GeneratorClass "NelderMead"
is a reference class for a Nelder-Mead
simplex optimizer allowing box constraints on the parameters and using
reverse communication.
The NelderMead()
function conveniently generates such objects.
NelderMead(...)
... |
Argument list (see Note below). |
NelderMead$new(lower, upper, xst, x0, xt)
Create a
new NelderMead
object
All reference classes extend and inherit methods from
"envRefClass"
.
This is the default optimizer for the second stage of
glmer
and nlmer
fits. We
found that it was more reliable and often faster than
more sophisticated optimizers.
Arguments to NelderMead()
and the new
method must
be named arguments:
numeric vector of lower bounds - elements may be -Inf
.
numeric vector of upper bounds - elements may be Inf
.
numeric vector of initial step sizes to establish the simplex - all elements must be non-zero.
numeric vector of starting values for the parameters.
numeric vector of tolerances on the parameters.
Based on code in the NLopt collection.
Nelder_Mead
, the typical “constructor”.
Further, glmer
, nlmer
showClass("NelderMead")