get_par_values: Parameters' values

Description Usage Arguments Value See Also Examples

View source: R/class_model_par.R

Description

The get_par_values function prints and returns parameters' values.

Usage

1
get_par_values(model, parameters = NULL, to_tex = FALSE, silent = FALSE)

Arguments

model

an object of the gecon_model class.

parameters

the names or the indices of the parameters whose values are to be returned. All 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 both free and calibrated parameters' values.

See Also

For details, see gecon_model-class.

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

# get parameters' values
get_par_values(rbc)

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

Related to get_par_values in gEcon...