Is there any way to subset a time series without converting the result to a matrix or vector? I would like to replace some values in the time series to see the effect on forecasts.