list_calibr_eq: List calibrating equations

Description Usage Arguments Value Examples

View source: R/class_model.R

Description

The list_calibr_eq function returns calibrating equations according to the specified indices.

Usage

1
list_calibr_eq(model, eq_idx = NULL)

Arguments

model

an object of gecon model class.

eq_idx

an integer/numeric value/vector specifying the indices of requested equations.

Value

A character (one-column) matrix with requested equations.

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")

# list calibrating equations
list_calibr_eq(rbc, c(1))

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

Related to list_calibr_eq in gEcon...