lagm | R Documentation |
Function lagm: lagged matrix
lagm(m, nLags)
nLags |
the number of lags #load data data(exampledata) m=as.matrix(exampledata$y) lagm(m,2) |
x |
is a matrix |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.