abcxyz {tsutils} | R Documentation |
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 |
frc |
an obkect of class |
outplot |
if |
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 argumenterror
was used.
Author(s)
Nikolaos Kourentzes, nikolaos@kourentzes.com.
References
Ord K., Fildes R., Kourentzes N. (2017) Principles of Business Forecasting, 2e. Wessex Press Publishing Co., p.515-518.
See Also
Examples
x <- abs(matrix(cumsum(rnorm(5400,0,1)),36,150))
abcxyz(abc(x),xyz(x,type="cv"))
[Package tsutils version 0.9.4 Index]