Description Usage Arguments Details Value Author(s) References See Also Examples
Piecewise cubic hermite interpolation.
1 |
x,y |
vectors giving the coordinates of the points to be
interpolated. |
xi |
points at which to interpolate. |
In contrast to spline
, pchip
preserves the monotonicity of
x
and y
.
Normally, the interpolated signal, an array of length(xi)
.
if xi == NULL
, a list of class pp
, a piecewise
polynomial representation with the following elements:
x |
breaks between intervals. |
P |
a matrix with |
n |
number of intervals ( |
k |
polynomial order. |
d |
number of polynomials. |
Original Octave version by Paul Kienzle pkienzle@user.sf.net. Conversion to R by Tom Short.
Fritsch, F. N. and Carlson, R. E., “Monotone Piecewise Cubic Interpolation”, SIAM Journal on Numerical Analysis, vol. 17, pp. 238-246, 1980.
Octave Forge https://octave.sourceforge.io/
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.