Learn R Programming

matman (version 1.1.3)

ABCXYZData-class: Class ABCXYZData

Description

This S4 class represents the result of an ABC/XYZ analysis.

Arguments

Slots

data

(data.frame) The result table of an ABC/XYZ analysis.

type

(character) The type of the analysis that has been performed. This is either 'abc' or 'abcxyz'.

value

(character) The name of the value column in the result table.

item

(character) Vector of the names of the item columns in the result table.

Objects from the Class

Objects can be created by calling the function computeABCXYZ. This S4 class represents the result of an ABC/XYZ analysis.

Examples

Run this code
# NOT RUN {
data("Amount")
abcResult = computeABCXYZAnalysis(data = Amount,
    value = "value",
    item = "item",
    timestamp = "date")
abcResult
# }

Run the code above in your browser using DataLab