A Mathematical Model of The Beer Game Coded in R for Verification v1.0.0

We first coded the mathematical model given in the paper “A Mathematical Model of The Beer Game” using R (R 2013). The aim of that code was to ease the simulation replications of the model provided in the paper. This code is a different version of that code, which is created for verification purposes. This code is ready to be executed; one needs to simply copy the code from the file and paste it to R console in order to execute it. R CORE TEAM. (2013). R: A language and environment for statistical computing. R Foundation for Statistical Computing. Vienna, Austria. http://www.R-project.org/
This is a companion discussion topic for the original entry at https://www.comses.net/codebases/4163/releases/1.0.0/