call_ssm: Call to SSM

Description Usage Arguments Value

View source: R/wrap.r

Description

This is the core function to call SSM from R

Usage

1
2
3
4
5
6
call_ssm(
  ssm,
  approx = c("ode", "sde", "psr"),
  do = c("kalman", "kmcmc", "ksimplex", "mif", "pmcmc", "simplex", "simul", "smc"),
  env = parent.frame()
)

Arguments

ssm

a ssm object, returned by new_ssm.

approx

character, approximation used to simulate ssm:

  • "ode" deterministic approximation, based on Ordinary Differential Equations.

  • "sde" diffusion approximation, based on Stochastic Differential Equations.

  • "psr" Euler-multinomial approximation, based on Poisson process with Stochastic Rates.

do

character, algorithm to perform on ssm

env

calling environment

Value

a ssm object updated with latest SSM output and ready to be piped into another SSM block.


StateSpaceModels/ssminr documentation built on Feb. 7, 2020, 8:20 p.m.