View source: R/aux_functions.R
create_approximation | R Documentation |
Creates linear interpolation
create_approximation(x, y, start = 0)
x |
time points |
y |
values to interpolate |
start |
rescales the x to x-start (useful to chain interventions properly) |
An interpolation function, like the one created by approxfun (stats package)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.