Extracts a subset of the time series from a grouped time series object.
# S3 method for gts window(x, ...)
x | An object of class |
---|---|
... | All other arguments are passed to |
Rob J Hyndman
window(htseg2, start = 2000, end = 2001) #> Hierarchical Time Series #> 4 Levels #> Number of nodes at each level: 1 2 4 10 #> Total number of series: 17 #> Number of observations per series: 2 #> Top level series: #> Time Series: #> Start = 2000 #> End = 2001 #> Frequency = 1 #> [1] 0.4762250 0.7640473