View source: R/quintic-spline.R
clamped_quintic_spline | R Documentation |
Estimate a natural quintic spline from known values of the function and its derivatives: that is, estimate the second derivative of the spline at each knot to ensure a continuous third derivative and a zero third derivative at the extremities.
clamped_quintic_spline(xk, yk, sk, an)
xk |
A vector of interpolation points. |
yk |
A vector of values at each interpolation point. |
sk |
A vector of slopes at each interpolation point. |
an |
Second derivative at the last knot. |
The vector ak
of second derivatives at each knot.
Thomas Blanchet, Juliette Fournier, Thomas Piketty
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.