interpolate.ARIMA | R Documentation |
Applies a model-specific estimation technique to predict the values of missing values in a tsibble
, and replace them.
## S3 method for class 'ARIMA'
interpolate(object, new_data, specials, ...)
object |
A model for which forecasts are required. |
new_data |
A tsibble containing the time points and exogenous regressors to produce forecasts for. |
specials |
(passed by |
... |
Other arguments passed to methods |
A tibble of the same dimension of new_data
with missing values interpolated.
library(tsibbledata)
olympic_running %>%
model(arima = ARIMA(Time ~ trend())) %>%
interpolate(olympic_running)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.