productmix {inventorize} | R Documentation |
productmix
Description
Identyfing ABC category based on the pareto rule for both demand and selling price,a mix of nine categories are produced. Identyfing ABC category based on the pareto rule.A category is up to 80
Usage
productmix(SKUs, sales, revenue, na.rm = TRUE, plot = FALSE)
Arguments
SKUs |
charachter, a vector of SKU names. |
sales |
vector, a vector of items sold per sku, should be the same number of rows as SKU. |
revenue |
price vector, a vector of total revenu per sku, should be the same number of rows as SKU. |
na.rm |
, logical and by default is TRUE |
plot |
default is FALSE,if true a plot is generated |
Value
a dataframe that contains ABC categories with a bar plot of the count of items in each category.
Note
this is the first version of the inventorize package, all the fucntions are common knowlege for supply chain without any academic contribution from my side, the aim is to facilitate and ease much of the bookkeeping that is endured during stock analysis.
Author(s)
"haytham omar email: <haytham@rescaleanalytics.com>"
Examples
productmix(SKUs=c(1:100),sales=runif(100,1,1000),revenue = rnorm(100,200,10),na.rm=TRUE)