Creates a lagged version of a variable for use inside dcce() formulas.
This function is evaluated during formula processing by dcce() and should
not be called directly on raw vectors outside of a dcce formula context.
Usage
L(x, k = 1L)
Value
A numeric vector of the same length as x with leading NAs.
Arguments
x
A numeric vector (column name evaluated within dcce()).
k
Integer lag order. Default 1. Positive values lag, negative lead.