ts_interpolate | R Documentation |
Interpolation of a time series with missing values
ts_interpolate(s, method = c("airline", "average"))
s |
The original time series |
method |
airline: interpolation through an estimated airline model average: interpolation using the average of the previous and next non missing values |
The interpolated series
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.