summary,ABCXYZComparison-method {matman}R Documentation

Prints the summary of the comparison of two ABC/XYZ analyses

Description

Summarizes the differences between two ABCXYZData objects.

Usage

## S4 method for signature 'ABCXYZComparison'
summary(object, withMissing = FALSE)

Arguments

object

Object of class ABCXYZComparison.

withMissing

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

Value

A contingency table showing the differences.

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

compare ABCXYZComparison

Examples

data("Amount")
data1 = Amount[sample(1:nrow(Amount), 1000),]
data2 = Amount[sample(1:nrow(Amount), 1000),]
abcxyzData1 = computeABCXYZAnalysis(data1, value = "value", item = "item", timestamp = "date",
                                    temporalAggregation = "day", XY = 0.5, YZ = 1)
abcxyzData2 = computeABCXYZAnalysis(data2, value = "value", item = "item", timestamp = "date",
                                    temporalAggregation = "day", XY = 0.5, YZ = 1)
comparison = compare(abcxyzData1, abcxyzData2)
summary(comparison)

[Package matman version 1.1.3 Index]