View source: R/derivative-estimation.R
| central_derivative | R Documentation |
Estimate the value of the derivative of a function based on
three irregularly-spaced points. The method is based on a second-order
Taylor expansion of the function around x1.
central_derivative(x0, x1, x2, y0, y1, y2)
x0 |
The left point of the grid. |
x1 |
The central point of the grid. |
x2 |
The right point if the grid. |
y0 |
The value of the function at |
y1 |
The value of the function at |
y2 |
The value of the function at |
The value of the derivative at x1.
Thomas Blanchet, Juliette Fournier, Thomas Piketty
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.