nlm0 {gss} | R Documentation |
Minimize univariate functions on finite intervals using 3-point quadratic fit, with golden-section safe-guard.
nlm0(fun, range, prec=1e-7)
fun |
Function to be minimized. |
range |
Interval on which the function to be minimized. |
prec |
Desired precision of the solution. |
nlm0
returns a list object with the following components.
estimate |
Minimizer. |
minimum |
Minimum. |
evaluations |
Number of function evaluations. |