interpolateC | R Documentation |
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
interpolateC(x, y, xval, extrapolate)
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 |
interpolated value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.