mod1 = Hw(ipc)
# Declaring a Holt Winters damped trend model for the ipc data.
mod2 = Hw(ipc,damped = TRUE)
# Declaring an additive Holt-Winters model for the birth data
mod3 = Hw(birth,damped = FALSE)
Run the code above in your browser using DataLab