powered by
Applies a model-specific estimation technique to predict the values of missing values in a tsibble, and replace them.
tsibble
# S3 method for model_mean interpolate(object, new_data, specials, ...)
A tibble of the same dimension of new_data with missing values interpolated.
new_data
The time series model used to produce the forecasts
A tsibble containing future information used to forecast.
(passed by fabletools::forecast.mdl_df()).
fabletools::forecast.mdl_df()
Additional arguments for forecast model methods.
library(tsibbledata) olympic_running %>% model(mean = MEAN(Time)) %>% interpolate(olympic_running)
Run the code above in your browser using DataLab