ATA.Shift_Mat {ATAforecasting} | R Documentation |
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)
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 |
Value
Generating a lag/lead matrice
[Package ATAforecasting version 0.0.60 Index]