lips: Linear interpolation between data points similar to approx.

View source: R/lips.R

lipsR Documentation

Linear interpolation between data points similar to approx.

Description

Linear interpolation between data points similar to approx. x may be a time vector.

Usage

lips(x, y, x.step = 1)

Arguments

x

Numeric vector or one that could be coerced to numeric along which interpolation shall take place. May be a time vector (POSIXlt or POSIXct).

y

Numeric vector of values which shall be interpolated.

x.step

Numeric giving at what time interval interpolation shall be done. In seconds! Thus half hourly interpolation is achieved with x.step = 1800.

Value

Data.frame containing the interpolated x (x.out) and y (x.out) values.

Author(s)

Gerald Jurasinski, gerald.jurasinski@uni-rostock.de

See Also

approx

Examples

## has to be added

flux documentation built on June 26, 2022, 9:05 a.m.