window.gts: Time window of a gts object

View source: R/window-gts.R

window.gtsR Documentation

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.

Author(s)

Rob J Hyndman

Examples


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


hts documentation built on Sept. 11, 2024, 7:32 p.m.