View source: R/create_lagmatrix.R
This function creates the delay reconstruction, i.e. a matrix where the first row contains y_1, ..., y_T (the given univariate time series) the second row contains NA, y_2, ..., y_T .... etc the k-th row contains NA, NA, ..., y_k+1, ..., y_T
1 | create_lagmatrix(timeseries, k)
|
a matrix with k rows and n-k columns, where n is the length of the provided time series
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.