Description Usage Arguments Value See Also Examples
The get_model_info
function returns a character vector
with information about the model.
1 | get_model_info(model)
|
model |
an object of |
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.
For details, see gecon_model-class
.
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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.