calculateInterpolation: calculate the linear interpolation from one measurement to...

View source: R/helperFunctions.R

calculateInterpolationR Documentation

calculate the linear interpolation from one measurement to the next available one

Description

calculate the linear interpolation from one measurement to the next available one

Usage

calculateInterpolation(toInterpolate, dataDF, dateDF, timeframe, baselineDate)

Arguments

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

Value

data frame with (linearly) interpolated values


smm52/timeBlocks documentation built on Nov. 27, 2022, 3:54 a.m.