hts (version 4.0)

window.gts: Time window of a gts object

Description

Extracts a subset of the time series from a grouped time series object.

Usage

## S3 method for class 'gts':
window(x, ...)

Arguments

x
An object of class gts.
...
All other arguments are passed to window.ts.

Examples

Run this code
window(htseg2, start = 2000, end = 2001)

Run the code above in your browser using DataLab