Description Usage Arguments Value Note See Also Examples
Create a matrix with lagged columns.
1 | laggedMatrix(x, k)
|
x |
a vector |
k |
number of columns, with lag = 0:(k-1). |
a matrix with k + length(x) -1
rows and k
columns.
This is a rather special function. Use acf
for
the standard way to estimate autocorrelations and
arima
for fitting time-series models.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.