get_model_info: Accessing information about the name and the creation date of...

Description Usage Arguments Value See Also Examples

View source: R/class_model.R

Description

The get_model_info function returns a character vector with information about the model.

Usage

1

Arguments

model

an object of gecon_model class.

Value

The function returns a character vector of length 3, containing information about the model: the input file name, the input file path, and the date of creation.

See Also

For details, see gecon_model-class.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# 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")

# retrieve and show model information
model_info <- get_model_info(rbc)
model_info

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

Related to get_model_info in gEcon...