Description Usage Arguments Value See Also Examples
View source: R/class_model_var.R
The get_var_names
function allows to
retrieve the names of variables from objects of gecon_model
class.
1 | get_var_names(model)
|
model |
an object of |
The function returns a character vector of variables' names stored in a given object of gecon_model
class.
For details, see gecon_model-class
.
1 2 3 4 5 6 7 8 9 | # 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")
# get variables' names
get_var_names(rbc)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.