optim_control | R Documentation |
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",
...
)
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 |
Irrespective of the value of the ok_warnings
argument, all
warnings are collected in the opt$warnings
element of the
tramME
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.