开始使用免费开始使用

Visualizing transfer function forecast

It would be great to compare this forecast to the validation data set that we held out from the beginning. First, let's visualize these two forecasts against each other. Your forecast is saved in your workspace as for_MET_hi_final and your validation data as MET_hi_v.

本练习是课程的一部分

Forecasting Product Demand in R

查看课程

练习说明

  • Plot the final forecast. Don't touch the options in the plot function.
  • Overlay the validation data set using the lines() function.

交互式实操练习

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

# Plot the final forecast - don't touch the options!
___(___, ylim = c(1000, 4300))

# Overlay the validation data set
lines(___, col = "blue")
编辑并运行代码