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

Description Usage Arguments Value Author(s) See Also Examples

Description

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

Usage

1
2
## S4 method for signature '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.

Author(s)

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
# 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)

matman documentation built on Dec. 13, 2021, 5:08 p.m.