View source: R/design-matrix.R
| make_lags | R Documentation |
Creates a matrix of lagged values for a numeric vector.
make_lags(x, k)
x |
Numeric vector. |
k |
Integer; maximum lag order. |
A matrix with k columns containing lags 1 through k.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.