ATA.Shift_Mat | R Documentation |
Lag/Lead (Shift) Function for Multivariate Series
ATA.Shift_Mat(X, direction = "down", shift_by = 1, fill = NA)
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 |
Generating a lag/lead matrice
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.