tsSubsetWithIndices: Subset time series with provided indices

Description Usage Arguments Value Author(s) Examples

View source: R/helper.R

Description

Use provided indices to subset a time series. The provided indices must be contiguous

Usage

1
tsSubsetWithIndices(x, indices)

Arguments

x

A time series object

indices

A contiguous vector of indices to use for subsetting

Value

A time series object appropriately subsetted using provided indices

Author(s)

Ganesh Krishnan

Examples

1

forecastHybrid documentation built on Aug. 28, 2020, 9:08 a.m.