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
Usage
abc_dynamic(
product,
key_to_split = F,
first_attribute,
second_attribute = F,
A = F,
B = F
)
Arguments
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