mpm_control | R Documentation |
fit_mpm
.mpm_control
selects the numerical minimizer, method, associated
control parameters, and parameter bounds used by fit_mpm
.
mpm_control(
optim = c("nlminb", "optim"),
method = c("L-BFGS-B", "BFGS", "Nelder-Mead", "CG", "SANN", "Brent"),
lower = NULL,
upper = NULL,
verbose = 1,
...
)
optim |
the numerical optimizer used in the fit |
method |
if optim = "optim" then the optimization method to be used
can be one of "BFGS", "L-BFGS-B", "Nelder-Mead", "CG", "SANN", or "Brent"
see |
lower |
a list named parameter lower bounds, if NULL then built in
defaults are used when |
upper |
a list of named parameter upper bounds, if NULL then built in
defaults are used when |
verbose |
integer; report progress during minimization: 0 = silent; 1 = optimizer trace; 2 = parameter trace (default)) |
... |
control parameters for the chosen optimizer |
The optimizer used to minimize the objective function is
selected by the optim
argument. Additional control
parameters specific to the chosen optimizer are specified via the
dots argument. See nlminb
and optim
for available options. Adapted from S. Wotherspoon
https://github.com/SWotherspoon/RWalc/blob/master/R/RWalc.R
Returns a list with components
optim |
the name of the numerical optimizer as a string, "nlminb" or "optim" |
method |
optimization method to be used |
lower |
named list of lower parameter bounds |
upper |
named list of upper parameter bounds |
verbose |
level of tracing information to be reported |
control |
list of control parameters for the optimizer |
nlminb
, optim
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.