Description Usage Arguments Value See Also Examples
View source: R/class_model_par.R
The get_par_values
function prints and returns parameters' values.
1 | 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
.
1 2 3 4 5 6 7 8 9 10 11 12 | # 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.