get_var_names: Accessing variables' names used by objects of 'gecon_model'...

Description Usage Arguments Value See Also Examples

View source: R/class_model_var.R

Description

The get_var_names function allows to retrieve the names of variables from objects of gecon_model class.

Usage

1

Arguments

model

an object of gecon_model class.

Value

The function returns a character vector of variables' names stored in a given object of gecon_model class.

See Also

For details, see gecon_model-class.

Examples

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)

gEcon documentation built on May 2, 2019, 6:52 p.m.

Related to get_var_names in gEcon...