bisection | R Documentation |
Univariate optimization.
bisection(f, interval, tol = 1e-08, hessian = FALSE, ...)
f |
a function to minimize, by varying the first argument. |
interval |
a vector containing the lower and upper limits of the interval to search over. |
tol |
the max difference between the optimal |
hessian |
whether to return the Hessian matrix, standard error, and 95% confidence interval. |
... |
passed to the |
List containing x
(optimal value), f
(function value), and
n
(number of function evaluations).
The number of function evaluations (n
) is two times the number of
loops performed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.