Interpolates curve values using cubic interpolation splines. The resulting evaluations correspond to an evenly spaced grid of input points. Often used to time-normalize registered curves onto a common time domain. Note the quality of interpolation decreases with inadequate density of defining points. If ties are found among input times, linear interpolation is used instead of splines.
1 | interp_spline(y, x = NULL, nout = NULL)
|
y |
numeric vector giving curve values |
x |
numeric vector giving input times. Defaults to evenly spaced values |
nout |
number of points defining resultant interpolated curve. Defaults to length of y |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.