get_model_info {gEcon} | R Documentation |
The get_model_info
function returns a character vector
with information about the model.
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
.
# 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