Plot Graph เปรียบเทียบ 2 Model
library(xts)
dev.new(width = 7,height = 6)
plot(as.xts(Fcast.ts),type = "b",col=c("black","red", "green"),lwd=c(1,1,1), pch = 8, ylim = c(0.5,4), main='2 Model Arima Forecasting')
addLegend("bottomleft", on=NA,legend.names = c("actual 2020","predict_arima(0,1,2)(1,1,1) 2021", "predict_arima(0,1,1)(1,1,1) 2021"), lty=c(1,1,1), pch = 8, lwd=c(1,1,1),col=c("black","red", "green"))