na.interp

0th

Percentile

Interpolate missing values in a time series

Uses linear interpolation to replace missing values.

Keywords
ts
Usage
na.interp(x)
Arguments
x
time series
Details

A more general and flexible approach is available using na.approx in the zoo package.

Value

  • Time series

Aliases
  • na.interp
Examples
data(gold)
plot(na.interp(gold))
Documentation reproduced from package forecast, version 4.05, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.