paraSpline | R Documentation |
Constructs a parametric interpolating spline for x and y data. The x data are not required to be strictly increasing. Used as a support function.
paraSpline(x, y, n)
x |
the x-coordinate data. Missing values are not permitted. |
y |
the y-coordinate data. Missing values are not permitted. |
n |
The number of points in the output parametric spline fit. |
A list containing the components x
and y
, which are
the coordinates of the parametric spline.
paraSpline(c(1,2,3), c(0,1,0), n=5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.