#install.packages("planr")
library(planr)
Demand & Supply Planning | S&OP :: with R
The planr R package is for Supply Chain Management.
The goal is to provide some functions to perform quickly some classic operations in the scope of Demand and Supply Planning or to run the S&OP (Sales & Operations Planning) process.
There are currently 6 groups of functions :
Calculation of projected inventories & coverages :
simple calculation : light_proj_inv()
calculation & analysis : proj_inv()
Calculation of projected inventories & constrained demand : const_dmd()
Calculation of Replenishment Plan (also called DRP) : drp()
Breakdown of Monthly Demand into Weekly Buckets :
by default Demand evenly distributed among each week : month_to_week()
custom distribution : month_to_weekx()
Calculation of Short Shelf Life (SSL) stocks : ssl()
Projection of In Transit inventories : proj_git()
Calculations are performed at monthly or weekly buckets.
To learn how to use those functions, refer to the Cheatsheets and Get Started sections.
To install the CRAN version:
To install the latest development version from GitHub:
library(devtools)
#install_github("nguyennico/planr")
library(planr)
Github repo : https://github.com/nguyennico/planr
R Cran : CRAN - Package planr (r-project.org)