Learn R Programming

bssm (version 1.0.0)

as_bssm: Convert KFAS Model to bssm Model

Description

Converts SSModel object of KFAS package to bssm model.

Usage

as_bssm(model, kappa = 100, ...)

Arguments

model

Object of class SSModel.

kappa

For SSModel object, a prior variance for initial state used to replace exact diffuse elements of the original model.

...

Additional arguments to ssm_mlg and ssm_mng (such as prior and updating functions).

Value

Object of class ssm_mlg or ssm_mng.