Extract all time series from a gts object
The time series from all levels of a hierarchical/grouped time series or a forecasted hierarchical/grouped time series are returned as a multivariate time series.
- An object of class
ycontains forecasts and historical data, then
forecastsindicates whether to return the forecasts or the historical data. Otherwise it is ignored.
Looks like there are no examples yet.