Convert Input List to Matrix
Converts a list to an appropriate input matrix for use of bgvar
.
list_to_matrix(datalist)
datalist |
a list of length |
Note the naming convention. Columns should indicate entity and variable name, separated by a dot, e.g. US.y
.
returns a matrix of size T times K (number of time periods times number of total variables).
Maximilian Boeck
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.