Description Usage Arguments Value Note See Also Examples
Create a matrix with
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 correct
estimation of autocorrelation and arima
for fitting
time-series models.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.