Interpolate and fill up static water level
Usage
interpolate_and_fill(df, x_col, y_col, group_by_col, origin_col)
Arguments
- df
data frame
- x_col
x column, e.g. date, to be used for interpolation
- y_col
y column, e.g. measured values, to be used for interpolation
- group_by_col
grouping variable within which interpolation is done
- origin_col
already existing or to be created column with type of value