tsSubsetWithIndices | R Documentation |
Use provided indices to subset a time series. The provided indices must be contiguous
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
tsSubsetWithIndices(AirPassengers, c(3:10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.