interp_spline: Evenly Spaced Curve Interpolation using Splines

Description Usage Arguments

View source: R/utility.R

Description

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.

Usage

1
interp_spline(y, x = NULL, nout = NULL)

Arguments

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


wzhorton/warptk documentation built on Nov. 14, 2020, 10:01 p.m.