bshift | R Documentation |
Backshift Operator
Apply the backshift operator or lag operator to a time series objective.
bshift(x, k = 1)
x |
univariate or multivariate time series. |
k |
number of lags. |
x <- arima.sim(model = list(ar = 0.8, sd = 0.5), n = 120)
bshift(x, k = 12)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.