View source: R/main_function.R
splitMatrix | R Documentation |
Splits a matrix of estimated coefficients into a list of matrices, each corresponding to one lag of the VAR model.
splitMatrix(M, p)
M |
A numeric matrix of coefficients. |
p |
Integer. The order of the VAR model (number of lags). |
A list of p
matrices, each of dimension (number of variables) x (number of variables).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.