par_info: Information about parameters

Description Usage Arguments Details Value See Also Examples

View source: R/class_model_par.R

Description

The par_info function allows to create an object of gecon_par_info class, containing information about the model's parameters. It allows to check types and values of a set of parameters as well as their incidence matrix.

Usage

1
par_info(model, parameters = NULL, all = FALSE)

Arguments

model

an object of the gecon_model class.

parameters

the names or indices of the parameters of interest.

all

logical value. If TRUE, information about all model parameters is generated (FALSE by default).

Details

If the function's result is not assigned to any variable, the information about the requested parameters is printed to the console.

Value

An object of gecon_par_info class.

See Also

shock_info for information about the shocks and var_info for information about the variables.

Examples

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

# find the steady state and the values of calibrated parameters
rbc <- steady_state(rbc)

# get information about all parameters
par_info(rbc, all = TRUE)

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

Related to par_info in gEcon...