Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

matrix_to_list

Convert Input Matrix to List


Description

Converts a big input matrix to an appropriate list for use of bgvar.

Usage

matrix_to_list(datamat)

Arguments

datamat

a matrix of size T times K, where T are time periods and K total amount of variables.

Details

Note the naming convention. Columns should indicate entity and variable name, separated by a dot, e.g. US.y.

Value

returns a list of length N (number of entities).

Author(s)

Maximilian Boeck

See Also


BGVAR

Bayesian Global Vector Autoregressions

v2.2.0
GPL-3
Authors
Maximilian Boeck [aut, cre] (<https://orcid.org/0000-0001-6024-8305>), Martin Feldkircher [aut] (<https://orcid.org/0000-0002-5511-9215>), Florian Huber [aut] (<https://orcid.org/0000-0002-2896-7921>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.