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