interpolateC: interpolateC

View source: R/RcppExports.R

interpolateCR Documentation

interpolateC

Description

Returns interpolated value at x from parallel arrays ( xData, yData ) Assumes that xData has at least two elements, is sorted and is strictly monotonic increasing

Usage

interpolateC(x, y, xval, extrapolate)

Arguments

x

vector of x's

y

vector of y's

xval

a particular value to interpolate for

extrapolate

whether or not to linearly extrapolate beyond endpoints of x

Value

interpolated value


bcallaway11/qrme documentation built on May 16, 2024, 12:02 p.m.