powered by
Function mlags: lagged matrix
mlags(x, nlags)
is a matrix
the number of lags
#load data data(exampledata) m=as.matrix(exampledata$y) mlags(m,2)