print_sgmod {sgmodel}R Documentation

print_sgmod

Description

The function print_sgmod prints results of the sgmodel function.

Usage

print_sgmod(x, ...)

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

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)

[Package sgmodel version 0.1.2 Index]