linfun | R Documentation |
Return a function performing the linear interpolation.
linfun(x, y, yleft = y[1], yright = y[length(y)])
x , y |
Numeric vectors giving the coordinates of the points to be interpolated. |
yleft |
The value to be returned when input |
yright |
The value to be returned when input |
A C++ version of this function is available. See vignette('IBMPopSim_cpp')
for more details.
Objet of class linfun
and function
which is an approxfun
function with method = 'linear'
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.