开始使用免费开始使用

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.

本练习是课程的一部分

Forecasting Product Demand in R

查看课程

练习说明

  • Use the forecast function to forecast your MET_t_model. Save this as forecast_MET_t.
  • You will want to forecast for the first 22 weeks in 2017.

交互式实操练习

通过完成这段示例代码来试试这个练习。

# Forecast the first 22 weeks of 2017
forecast_MET_t <- forecast(___, h = ___)

# Plot this forecast #
plot(___)
编辑并运行代码