msales: Monthly product sales

msalesR Documentation

Monthly product sales

Description

Monthly sales for a product with shortage indicators. Contains sales (first column) and stockout indicator (second column).

Usage

msales

Format

time series

Source

Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D., (2008) Forecasting with exponential smoothing: the state space approach, Springer

References

http://www.exponentialsmoothing.net

Examples


plot(msales[,1],main="Monthly sales of a product",ylab="Sales",xlab="Year")
points(msales,pch=(msales[,"stockouts"]==1)+1)
legend("bottomright",pch=1:2,legend=c("Excess stock","Stock shortage"))


robjhyndman/expsmooth documentation built on July 30, 2023, 8:47 a.m.