Description Slots Methods See Also Examples
The class storing information about parameters selected by the user.
r_object_name
:a character string. The name of an R object of gecon_model
class storing the model from which the information about parameters comes from.
parameters
:a character vector of parameters' names.
gcn_values
:a numeric vector of free parameters' values specified in the .gcn file.
current_values
:a numeric vector of parameters' current values.
calibr_flag
:a logical vector of the length equal to the number of the parameters. If TRUE, a corresponding parameter is a calibrated parameter.
incid_mat
:a object of Matrix
class representing the mapping of parameters to equations and calibrating equations.
signature(x = "gecon_par_info")
: Prints all the available information (values, types, incidence matrix) about the parameters which were selected when creating a gecon_par_info-class
object.
signature(object = "gecon_par_info")
: Prints all the available information (values, types, incidence matrix) about the parameters which were selected when creating a gecon_par_info-class
object.
signature(object = "gecon_par_info")
: Prints all the available information (values, types, incidence matrix) about the parameters which were selected when creating a gecon_par_info-class
object.
par_info
creates an object of gecon_par_info
class.
gecon_shock_info-class
and gecon_var_info-class
are
similar classes storing the information about shocks and variables, respectively.
1 2 3 4 5 6 7 8 9 10 11 12 13 | # copy the example to the current working directory
file.copy(from = file.path(system.file("examples", package = "gEcon"),
"rbc.gcn"), to = getwd())
# make and load the model
rbc <- make_model("rbc.gcn")
# compute the steady state and calibrate alpha
rbc <- steady_state(rbc)
rbc_par_info <- par_info(rbc, all = TRUE)
print(rbc_par_info)
summary(rbc_par_info)
show(rbc_par_info)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.