Get lag
.Lag(x, k)
x
time series
k
number of lags Functions used internally in the seasonality package
Daniel Ollech