tsutils (version 0.9.0)

abcxyz: ABC-XYZ visualisation

Description

Jointly visualise ABC and XYZ analyses.

Usage

abcxyz(imp, frc, outplot = c(TRUE, FALSE), error = NULL, ...)

Arguments

imp

an obkect of class abc that is the output of function abc.

frc

an obkect of class abc that is the output of function xyz.

outplot

if TRUE, then provide a visualisation of the analyses.

error

vector of forecast errors for each series that will be distributed in each class, presented as an average.

...

additional arguments passed to the plot.

Value

A list containing:

  • class: a matrix containing the number of time series in each class.

  • error: a matrix containing the averaged error for each class, if the argument error was used.

References

Ord K., Fildes R., Kourentzes N. (2017) Principles of Business Forecasting, 2e. Wessex Press Publishing Co., p.515-518.

See Also

abc, xyz.

Examples

Run this code
# NOT RUN {
x <- abs(matrix(cumsum(rnorm(5400,0,1)),36,150))
abcxyz(abc(x),xyz(x,type="cv"))

# }

Run the code above in your browser using DataCamp Workspace