Set up and control optimization parameters
optim_control(
method = c("nlminb", "BFGS", "CG", "L-BFGS-B"),
scale = TRUE,
trace = FALSE,
ntry = 5,
ok_warnings = "NA/NaN function evaluation",
...
)
Optimization procedure.
Logical; if TRUE
rescale the fixed effects design matrix to improve
convergence.
Logical; print trace of the optimization.
Number of restarts with new random initialization if optimization fails to converge.
Control for what warnings will be reported during
optimization. If TRUE
, no warnings will be reported, if
FALSE
all warnings are displayed. In case of a character vector,
the matching warnings are treated as unimportant, and not reported. See also Notes.
Optional arguments passed to auglag
,
nlminb
or optim
as a list of control
parameters.