View source: R/quintic-spline.R
tension | R Documentation |
Tension (as mesured by the integral of the square of the third derivative) of several splines put together.
tension(xk, yk, sk, ak)
xk |
A vector of interpolation points. |
yk |
A vector of values at each interpolation point. |
sk |
A vector of slopes at each interpolation point. |
ak |
A vector of second derivatives at each interpolation point. |
The tension of the spline over [min(xk)
, max(xk)
].
Thomas Blanchet, Juliette Fournier, Thomas Piketty
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.