Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


matman (version 1.1.3)

summary,ABCXYZData-method: Prints the result summary of an ABC/XYZ analysis

Description

Summarizes the items count and value sum grouped by the different ABC- or ABC/XYZ-Classes.

Usage

# S4 method for ABCXYZData
summary(object, withMissing = FALSE)

Arguments

object

Object of class ABCXYZData.

withMissing

Logical indicating whether missing categories will be shown. Default is FALSE.

Value

A data.table with the summarized results.

See Also

computeABCXYZAnalysis ABCXYZData

Examples

Run this code
# 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