Learn R Programming

flux (version 0.2-2)

lips: 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 intervall interpolation shall be done. In seconds! Thus half hourly interpolation is achieved with x.step = 1800.

Value

  • Data.frame containing the original and the interpolated x and y values.

encoding

UTF-8

See Also

approx

Examples

Run this code
## has to be added

Run the code above in your browser using DataLab