beergame is a package that contains useful functions to replicate the famous Beer Game.
You can visit the package website to explore the vignettes (articles) and function reference.
Install latest development version from GitHub using the code given below:
if (!require('devtools')) install.packages('devtools') devtools::install_github('fhernanb/beergame', force=TRUE)