Forecast function
Previously you built a model and saved it as MET_t_model
. Now we need to forecast out the values of this model for the first 5 months of 2017.
Cet exercice fait partie du cours
Forecasting Product Demand in R
Instructions
- Use the
forecast
function to forecast yourMET_t_model
. Save this asforecast_MET_t
. - You will want to forecast for the first 22 weeks in 2017.
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Forecast the first 22 weeks of 2017
forecast_MET_t <- forecast(___, h = ___)
# Plot this forecast #
plot(___)