Apply the backshift operator or lag operator to a time series objective.
bshift(x, k = 1)
univariate or multivariate time series.
number of lags.
# NOT RUN {
x <- arima.sim(model = list(ar = 0.8, sd = 0.5), n = 120)
bshift(x, k = 12)
# }
Run the code above in your browser using DataLab