abcxyz: ABC-XYZ visualisation

Description Usage Arguments Value Author(s) See Also Examples

View source: R/abcxyz.R

Description

Visualise the results of both ABC-XYZ analyses and provide summary.

Usage

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

Arguments

imp

Importance: "abc" class object, produced using abc.

frc

Forecastability: "abc" class object, produced using xyz.

outplot

If TRUE provide a visualisation of the ABC-XYZ analysis result.

error

Vector of errors for each item that will be averaged in each class.

...

Additional arguments can be passed for the plot. User can override default values. For example main="" will remove the title from the plot.

Value

class

Matrix containing the number of time series in each class.

error

Matrix containing the average error for each class.

Author(s)

Nikolaos Kourentzes, [email protected]

See Also

abc, xyz, plot.abc.

Examples

1
2
x <- abs(matrix(cumsum(rnorm(5400,0,1)),36,150))
abcxyz(abc(x),xyz(x,m=12,type="naive"))

trnnick/TStools documentation built on Oct. 30, 2018, 9:26 p.m.