Lags | R Documentation |
Compute the lags for the mat.y time series matrix
Lags(mat.y, q)
mat.y |
The matrix of time series |
q |
The lag chosen |
A list of original (dependent) and lagged (independent) time series matrix
data(example_data)
list.lags <- Lags(mat.y = example_data, q = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.