abc_dynamic | R Documentation |
Identyfing ABC category based on the pareto rule. the function can have flexibility in defining the A,B thresholds. can be done on multiple splits for example countries or stores
abc_dynamic( product, key_to_split = F, first_attribute, second_attribute = F, A = F, B = F )
product, |
Vector that contains the product name . |
key_to_split, |
logical and by default is False, otherwise a column that has a splitting dimension, for example ; stores or cities |
first_attribute |
, attribute to do the ABC analysis on, for example sales quantity |
second_attribute |
, attribute to do the ABC analysis on .for example profit, the default is FALSE |
A |
, changing the default threshold for A category which is 0.8, the default is FALSE |
B |
, changing the default threshold for B category which is 0.95, the default is FALSE |
a dataframe that contains ABC categories.
this is the second version of the inventorize package, all the fucntions are without any academic contribution from my side, the aim is to facilitate and ease much of the bookkeeping that is endured during stock analysis.
"haytham omar email: <haytham@rescaleanalytics.com>"
abc_dynamic(c(1:1000), rep(seq(1:10),100), runif(1000,4,10000),rnorm(1000,100,20))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.