Description Usage Arguments Value Examples
View source: R/expandFunctions.R
Generates shifted columns.
1 | lagshift(x, i, lagMax, pad)
|
x |
Input vector |
i |
Shift (integer) |
lagMax |
Maximum lag that will be needed |
pad |
Scalar used for padding. |
vector padded front and back with padding appropriate for generating lag.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.