I am completely new to the ts() function in base R.
I can’t find information on whether the following is possible,
for
dat <- ts(x, start = c(1950, 1), end = c(2100, 12), frequency = 12)
is it possible to exclude all elements from 2015 through 2046?
I have found a way to create the timeseries and set those particular values to NA, but this is not what I’m looking for.