fillintergaps: Interpolate Between Irregular and Regular Timesteps

Description Usage Arguments

View source: R/functions_L1.R

Description

fillintergaps interpolates gaps between irregular and regular timesteps, i.e. only over very small gaps (more an alignment than an interpolation).

Usage

1
fillintergaps(df, reso, interpol = NULL, type = "linear", flag = FALSE)

Arguments

df

input data.frame.

reso

numeric, desired output time resolution (in minutes). See Details for more information on data aggregation.

interpol

numeric, length of gaps (in minutes) for which values are linearly interpolated after data cleaning. Set interpol = 0 to disable gapfilling. If interpol = NULL the default value is set to interpol = 2.1 * reso (i.e. two timestamps).

type

specify type of interpolation between regular timesteps.


treenet/treenetproc documentation built on June 16, 2021, 4:39 p.m.