
An R package containing data from the book “Forecasting with Exponential Smoothing: The State Space Approach” by Hyndman, Koehler, Ord and Snyder (Springer, 2008).
You can install the released version from CRAN:
install.packages("expsmooth")or the development version from GitHub:
# install.packages("pak")
pak::pak("robjhyndman/expsmooth")Loading the package also loads the forecast package, which can be used to fit exponential smoothing state space models to the data.
library(expsmooth)
fit <- ets(visitors)
autoplot(forecast(fit))