
Last chance! 50% off unlimited learning
Sale ends in
Summarizes the items count and value sum grouped by the different ABC- or ABC/XYZ-Classes.
# S4 method for ABCXYZData
summary(object, withMissing = FALSE)
Object of class ABCXYZData
.
Logical indicating whether missing categories will be shown. Default is FALSE
.
A data.table
with the summarized results.
# NOT RUN {
# ABC Analysis
data("Amount")
abcResult = computeABCXYZAnalysis(data = Amount,
value = "value",
item = "item",
timestamp = "date")
summary(abcResult)
# ABC/XYZ Analysis
data("Amount")
abcxyzResult = computeABCXYZAnalysis(data = Amount,
value = "value",
item = "item",
timestamp = "date",
temporalAggregation = "week",
XY = 0.3, YZ = 0.5)
summary(abcxyzResult)
# }
Run the code above in your browser using DataLab