Last chance! 50% off unlimited learning
Sale ends in
"fitted"(object, h=1, ...)
bats
". Usually the result of a call to bats
.forecast.bats
.plot(WWWusage)
lines(fitted(fit), col='red')
lines(fitted(fit, h=2), col='green')
lines(fitted(fit, h=3), col='blue')
legend("topleft", legend=paste("h =",1:3), col=2:4, lty=1)
Run the code above in your browser using DataLab