| lagMat | R Documentation |
lagMat: Create a matrix of lags
lagMat(x, lags = 2, Lzero = FALSE)
x |
Vector to be 'lagged' |
lags |
Number of lagged columns in resulting matrix |
Lzero |
(F= do not include x[i] in row i) (T = include x[i] in row i) |
= lagged matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.