View source: R/martingaleDifference.R
lagmatrix | R Documentation |
Matrix of lagged values of a vector
lagmatrix(x, max.lag)
x |
vector |
max.lag |
number of lags to include |
matrix of size (length(x), max.lag+1) of 0-order to max.lag-order lags of x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.