gecon_simulation: Create objects of 'gecon_simulation' class

Description Usage Arguments Value Note See Also

View source: R/class_simulation.R

Description

The function creates an object of gecon_simulation class.

Usage

1
2
3
gecon_simulation(sim,
                 shocks, shocks_tex, variables, variables_tex,
                 sim_name, model_info, r_object_name)

Arguments

sim

an array with simulation results (3-dimensional if the IRFs have been performed, 2-dimensional otherwise).

shocks

a character vector with the names of the shocks for which the simulations have been performed.

shocks_tex

a character vector with LaTeX names of the shocks for which the simulations have been performed.

variables

a character vector with the names of the variables for which the simulations have been performed.

variables_tex

a character vector with LaTeX names of the variables for which the simulations have been performed.

sim_name

a character string, the simulation name.

model_info

a character vector of length 3 containing information about the model: the input file name, the input file path, and the date of creation.

r_object_name

a character string with the name of an R object storing the model for which the simulations have been performed.

Value

An object of gecon_simulation class.

Note

The gecon_simulation constructor is invoked by the random_path, simulate_model, and compute_irf functions. In general, users should not call this function explicitly.

See Also

Generic functions such as print and summary provide information about the simulations. The plot_simulation function allows to visualize the impact of simulations on the model's variables.


gEcon documentation built on May 2, 2019, 6:52 p.m.