get_var_names {gEcon} | R Documentation |
gecon_model
classThe get_var_names
function allows to
retrieve the names of variables from objects of gecon_model
class.
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
.
# 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)