window.gts: Time window of a gts object

Description Usage Arguments Author(s) Examples

View source: R/window-gts.R

Description

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

Usage

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

Arguments

x

An object of class gts.

...

All other arguments are passed to window.ts.

Author(s)

Rob J Hyndman

Examples

1
window(htseg2, start = 2000, end = 2001)

earowang/hts documentation built on Nov. 28, 2021, 5:27 p.m.