Description Usage Arguments Value Note See Also
View source: R/class_simulation.R
The function creates an object of gecon_simulation
class.
1 2 3 | gecon_simulation(sim,
shocks, shocks_tex, variables, variables_tex,
sim_name, model_info, r_object_name)
|
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. |
An object of gecon_simulation
class.
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.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.