Lag/Lead (Shift) Function for Multivariate Series
ATA.Shift_Mat(X, direction = "down", shift_by = 1, fill = NA)
given matrice
direction of shifting. Default is "down".
number of rows to be shifed upwards/downwards
a value to be used to fill the rows
Generating a lag/lead matrice