Description Usage Arguments Value Author(s) Examples
Use provided indices to subset a time series. The provided indices must be contiguous
1 | tsSubsetWithIndices(x, indices)
|
x |
A time series object |
indices |
A contiguous vector of indices to use for subsetting |
A time series object appropriately subsetted using provided indices
Ganesh Krishnan
1 | tsSubsetWithIndices(AirPassengers, c(3:10))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.