evalInterpolator {interpolators}R Documentation

Interpolator evaluation

Description

Evaluation of an interpolator at some given values.

Usage

evalInterpolator(ipr, x, derivative = 0)

Arguments

ipr

an interpolator

x

numeric vector giving the values to be interpolated; missing values are not allowed; for Catmull-Rom splines, the values must be between 0 and 1

derivative

order of differentiation, 0 or 1

Value

Numeric vector of interpolated values, or numeric matrix of interpolated points for the Catmull-Rom interpolator.


[Package interpolators version 1.0.1 Index]