powered by
Build the VAR(1) representation of a VAR(p) process
companion_var(v)
A sparse matrix (of class dgCMatrix) representing the companion form of the VAR(p) process.
dgCMatrix
the VAR object as from fitVAR or simulateVAR
fitVAR
simulateVAR