time_lag_matrix: time_lag_matrix
Description
Build the time lag matrix for the data matrix x.
Usage
time_lag_matrix(x, maxlag)
Arguments
x
A matrix of predictors, where the rows are the samples and the columns are the predictors
maxlag
maximum time lag variable.