print_sgmod: print_sgmod

Description Usage Arguments Value Examples

View source: R/stochastic_growth_model.R

Description

The function print_sgmod prints results of the sgmodel function.

Usage

1

Arguments

x

A sgmodel object.

...

Additional arguments.

Value

The function prints the call of the function, the Savings, Consumption and Capital grid vectors from sgmodel.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
grid <- 200
utiltype <- "CRRA"
utilparam <- 4
A <- 1
depre <- 0.03
discount <- 0.95
prod <- 0.3
states <- 3
m <- 5
rho <- 0.2
sigma <- 0.02
model <- sgmodel(grid, utiltype, utilparam, A, depre, discount, prod, states, m, rho, sigma)
print_sgmod(model)

thomasvigie/sgmodel documentation built on March 3, 2020, 2:28 p.m.