Learn R Programming

matman (version 1.1.4)

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)

Value

A data.table with the summarized results.

Arguments

object

Object of class ABCXYZData.

withMissing

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

Author

Leon Binder leon.binder@th-deg.de

Bernhard Bauer bernhard.bauer@th-deg.de

Michael Scholz michael.scholz@th-deg.de

See Also

computeABCXYZAnalysis ABCXYZData

Examples

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