optim_control {tramME} | R Documentation |
Set up and control optimization parameters
Description
Set up and control optimization parameters
Usage
optim_control(
method = c("nlminb", "BFGS", "CG", "L-BFGS-B"),
scale = TRUE,
trace = FALSE,
ntry = 5,
ok_warnings = "NA/NaN function evaluation",
...
)
Arguments
method |
Optimization procedure. |
scale |
Logical; if |
trace |
Logical; print trace of the optimization. |
ntry |
Number of restarts with new random initialization if optimization fails to converge. |
ok_warnings |
Control for what warnings will be reported during
optimization. If |
... |
Optional arguments passed to |
Note
Irrespective of the value of the ok_warnings
argument, all
warnings are collected in the opt$warnings
element of the
tramME
object.
[Package tramME version 1.0.6 Index]