tsSubsetWithIndices function

Subset time series with provided indices