lagthemats {ConNEcT} | R Documentation |
Lag a matrix
lagthemats(data, lag)
data |
Binary time-points-by-variable matrix |
lag |
Non-negative integer indicating the number of time points the second variable is lagged (default 0) |
laggeddata
Matrix in which all variables are lagged lag
time points
lagthemats(cbind(c(1,0,1,0,1,0,1),c(1,1,1,1,0,0,0)),lag=2)