plot.gts

0th

Percentile

Plot grouped or hierarchical time series

Method for plotting grouped or hierarchical time series and their forecasts.

Keywords
hplot
Usage
## S3 method for class 'gts':
plot(x, include, levels, labels = TRUE, ...)
Arguments
x
An object of class gts.
include
Number of values from historical time series to include in the plot of forecasted group/hierarchical time series.
levels
Integer(s) or string(s) giving the specified levels(s) to be plotted
labels
If TRUE, plot the labels next to each series
...
Other arguments passing to plot.default
References

R. J. Hyndman, R. A. Ahmed, G. Athanasopoulos and H.L. Shang (2011) Optimal combination forecasts for hierarchical time series. Computational Statistics and Data Analysis, 55(9), 2579--2589. http://robjhyndman.com/papers/hierarchical/

See Also

aggts

Aliases
  • plot.gts
Examples
plot(htseg1, levels = c(0, 2))
plot(infantgts, include = 10, levels = "State")
Documentation reproduced from package hts, version 4.0, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.