View source: R/fit_distributions.R
| optimize_params | R Documentation |
Wrapper function for optim that handles bounded and unbounded
optimization methods with appropriate default bounds.
optimize_params(
obj_func,
start,
lower,
upper,
optim_method,
dist,
x,
tol_param,
...
)
obj_func |
objective function to minimize. |
start |
initial parameter values. |
lower |
lower bounds for parameters. |
upper |
upper bounds for parameters. |
optim_method |
optimization method. |
dist |
character string specifying the distribution. |
x |
numeric vector of data. |
tol_param |
numeric tolerance for parameter bounds. |
... |
additional arguments for |
Result from optim.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.