gecon_par_info-class {gEcon} | R Documentation |
gecon_par_info
classThe 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.
# 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)