Learn R Programming

sectorgap (version 0.1.0)

add_cycle: Add a cycle to a state space model

Description

Add a cycle to a state space model

Usage

add_cycle(sys, p, name, lags = NULL)

Value

The input list sys with updated matrices.

Arguments

sys

list with system matrices

p

integer with autoregressive order, p <= 2

name

name ob observation equation

lags

(optional) number of lags added to state equation, e.g. since other equations load on them