powered by
Compute the lags for the mat.y time series matrix
Lags(mat.y, q)
A list of original (dependent) and lagged (independent) time series matrix
The matrix of time series
The lag chosen
data(example_data) list.lags <- Lags(mat.y = example_data, q = 2)
Run the code above in your browser using DataLab