run_simulation: Simulate State Space Model

Description Usage Arguments Value

View source: R/simulation.R

Description

x_t+1 = h(x_t) y_t = g(x_t)

Usage

1
run_simulation(h, g = NULL, x0, t)

Arguments

h

function for state equation

g

function for output equation

x0

initial state vector

t

integer, length of simulation

Value

output matrix


kenjisato/macromodels documentation built on May 5, 2019, 6:59 p.m.