list_to_matrix {BGVAR} | R Documentation |
Convert Input List to Matrix
Description
Converts a list to an appropriate input matrix for use of bgvar
.
Usage
list_to_matrix(datalist)
Arguments
datalist |
A list of length |
Details
Note the naming convention. Columns should indicate entity and variable name, separated by a dot, e.g. US.y
.
Value
Returns a matrix of size T times K (number of time periods times number of total variables).
Author(s)
Maximilian Boeck
See Also
bgvar
for estimation of a bgvar
object.
[Package BGVAR version 2.5.7 Index]