interpolate_NA_values: Interpolating (timeseries) values

Description Usage Arguments Details Value

Description

This is a generic NA-interpolation switch wrapper which allows the use of several interpolation methods

Usage

1
Interpolate_timeseries(data_to_be_interpolated, interpolation_method, maximum_gap, ...)

Arguments

data_to_be_interpolated

1-dimensional data with NA values.

interpolation_method

The selected interpolation method. ("repeat_previous","linear_interp","spline_interp","no_interp") are supported.

...

Possible additional parameters passed to zoo-package interpolation functions

maxgap

Maximum gap (number of consecutive NA-values) allowed, which still is being interpolated

Details

data_to_be_interpolated is 1-dimensional (without actual time stamps). It contains NA-values for the missing time stamps. Returned data is the same size but with interpolated values.

Value

Interpolated time series of same size as the input data.


jylhaisi/post-processing-mos-point-utils documentation built on May 20, 2019, 6:14 p.m.