get_par_values {gEcon} | R Documentation |
The get_par_values
function prints and returns parameters' values.
get_par_values(model, parameters = NULL, to_tex = FALSE, silent = FALSE)
model |
an object of the |
parameters |
the names or the indices of the parameters whose values are to be returned. All parameters are listed by default. |
to_tex |
logical. If TRUE, the output is written to a .tex file. The default value is FALSE. |
silent |
logical. If TRUE, console output is suppressed. The default value is FALSE. |
This function returns both free and calibrated parameters' values.
For details, see gecon_model-class
.
# 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") # find the steady state rbc <- steady_state(rbc) # get parameters' values get_par_values(rbc)