Converts SSModel object of KFAS package to general bssm
model of type ssm_ulg, ssm_mlg, ssm_ung or
ssm_mng. As KFAS supports formula syntax for defining
e.g. regression and cyclic components it maybe sometimes easier to define
the model with KFAS::SSModel and then convert for the bssm style with
as_bssm.
Usage
as_bssm(model, kappa = 100, ...)
Value
An object of class ssm_ulg, ssm_mlg, ssm_ung or
ssm_mng.
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 model building functions of bssm
(such as prior and updating functions, C, and D).