run_pracma | R Documentation |
runs optimization using optimx package
run_pracma( objective, start, lower = NULL, upper = NULL, hessian = FALSE, method = "fminsearch", ... )
objective |
function; the objective function to minimize |
start |
numeric vector; starting parameters |
hessian |
logical; if TRUE, find the hessian at the optimum |
method |
string; method to use. See details. Default = "fminsearch". |
... |
further arguments passed to optimx and objective |
method options = "fminsearch", "fminunc", "fmincon", "fminbnd"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.