Learn R Programming

ZIM (version 1.1.0)

bshift: Backshift Operator

Description

Apply the backshift operator or lag operator to a time series objective.

Usage

bshift(x, k = 1)

Arguments

x

univariate or multivariate time series.

k

number of lags.

See Also

lag, zlag

Examples

Run this code
# 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