get_init_calibr_par {gEcon}R Documentation

Calibrated parameters' initial values

Description

The get_init_calibr_par function prints and returns calibrated parameters' initial values.

Usage

get_init_calibr_par(model, calibr_par = NULL, to_tex = FALSE, silent = FALSE)

Arguments

model

an object of the gecon_model class.

calibr_par

the names or the indices of calibrated parameters whose initial values are to be returned. All calibrated parameters are listed by default.

to_tex

logical. If TRUE, the output is written to a .tex file. The default value is FALSE.

silent

logical. If TRUE, console output is suppressed. The default value is FALSE.

Value

This function returns calibrated parameters' initial values.

See Also

For details, see gecon_model-class.

Examples

# 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
rbc <- steady_state(rbc)

# get calibrated parameters' initial values
get_init_calibr_par(rbc)

[Package gEcon version 1.2.0 Index]