View source: R/quintic-spline.R
natural_quintic_spline_noderiv | R Documentation |
Estimate a natural quintic spline from known values of the function only. That is, it estimates the first and second derivatives at each point by ensuring that the third and fourth derivatives are continuous at each knot, and equal to zero at the first and the last point.
natural_quintic_spline_noderiv(xk, yk)
xk |
A vector of interpolation points. |
yk |
A vector of values at each interpolation point. |
A list with two components:
sk
A vector of first derivatives at each point.
ak
A vector of second derivatives at each point.
Thomas Blanchet, Juliette Fournier, Thomas Piketty
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.