get_init_calibr_par {gEcon} | R Documentation |
The get_init_calibr_par
function prints and returns calibrated parameters' initial values.
get_init_calibr_par(model, calibr_par = NULL, to_tex = FALSE, silent = FALSE)
model |
an object of the |
calibr_par |
the names or the indices of calibrated parameters whose initial values are to be returned. All calibrated 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 calibrated parameters' initial 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 calibrated parameters' initial values get_init_calibr_par(rbc)