rrinterpolate: Interpolation with Boundaries

Description Usage Arguments Value

View source: R/Interpolation.R

Description

The algorithm produces a C^2 curve that interpolates the specified points while staying between min and max boundaries. The resulting function will have absolute second derivative within some constant multiplied by the optimal (the optimal being the theoretical minimal second derivative possible for a C^2 curve interpolating through the points).

Usage

1
rrinterpolate(x, y, min = NA, max = NA)

Arguments

x

A vector of x-values of the points to be interpolated over.

y

A vector of y-values of the points to be interpolated over.

min

Optional lower boundary of the interpolation.

max

Optional upper boundary of the interpolation.

Value

A patching S4 class.


Chen2357/rrinterp documentation built on Jan. 7, 2022, 1:01 p.m.