View source: R/helperFunctions.R
calculateInterpolation | R Documentation |
calculate the linear interpolation from one measurement to the next available one
calculateInterpolation(toInterpolate, dataDF, dateDF, timeframe, baselineDate)
toInterpolate |
index position of the start of the interpolation |
dataDF |
the data frame with the measurements records |
dateDF |
corresponding data frame with date records |
timeframe |
length of blocks in days |
baselineDate |
the baseline date |
data frame with (linearly) interpolated values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.