Description Usage Arguments Details Value Author(s)
View source: R/F_interpolate_missingReadings.R
Interpolate missing readings
1 | interpolate_missingReadings(timeseries, option = "linear", ...)
|
timeseries |
Numeric Vector ( |
option |
Algorithm to be used. Accepts the following input:
|
... |
Additional parameters to be passed through to approx or spline interpolation functions |
Missing values get replaced by values of a approx, spline or stinterp interpolation.
Vector (vector
) or Time Series (ts
) object (dependent on given input at parameter x)
The implementation is adopted from the package imputeTS, function na.interpolate (https://github.com/SteffenMoritz/imputeTS/blob/master/R/na.interpolation.R)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.