list_eq {gEcon} | R Documentation |
The list_eq
function returns equations according to the specified indices.
list_eq(model, eq_idx = NULL)
model |
an object of |
eq_idx |
an integer/numeric value/vector specifying the indices of requested equations. |
A character (one-column) matrix with requested equations.
# 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 the 3rd and the 5th model equation list_eq(rbc, c(3, 5))