crop_to.Rd
Handy window function with index
crop_to(ts, ind.range)
A time series (`ts`) object.
A vector of length of 2. A first and second element refer to initial and final index, respectively.
A cropped time series (`ts`) object.