View source: R/stochastic_growth_model.R
print_sgmod | R Documentation |
The function print_sgmod
prints results of the sgmodel
function.
print_sgmod(x, ...)
x |
A |
... |
Additional arguments. |
The function prints the call of the function, the Savings, Consumption and Capital grid vectors from sgmodel
.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.