run_optimx | R Documentation |
runs optimization using optimx package
run_optimx( objective, start, lower = -Inf, upper = Inf, hessian = FALSE, method = "nmkb", control = list(), ... )
objective |
function; the objective function to minimize |
start |
numeric vector; starting parameters |
lower |
numeric vector; lower bounds for parameters |
upper |
numeric vector; upper bounds for parameters |
hessian |
logical; if TRUE, find the hessian at the optimum |
method |
string; method to use. See optimx for details |
control |
list; a list of control parameters, see optimx for details |
... |
further arguments passed to optimx and objective |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.