Description Usage Arguments Details Value See Also Examples
View source: R/class_model_par.R
The par_info
function allows to create an object of gecon_par_info
class,
containing information about the model's parameters. It allows to check types and values of a set of parameters
as well as their incidence matrix.
1 |
model |
an object of the |
parameters |
the names or indices of the parameters of interest. |
all |
logical value. If TRUE, information about all model parameters is generated (FALSE by default). |
If the function's result is not assigned to any variable, the information about the requested parameters is printed to the console.
An object of gecon_par_info
class.
shock_info
for information about the shocks and var_info
for information about the variables.
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 and the values of calibrated parameters
rbc <- steady_state(rbc)
# get information about all parameters
par_info(rbc, all = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.