Compile an odin model to work with dust, so that a stochastic model can be run in parallel, for example in a particle filter such as mcstate.

This works only for models that are discrete time, and makes sense only for models that are stochastic. Within these models you cannot use output(), interpolation functions or delays. Not all distributions are supported by dust. See vignette("porting") for details.

Installation

Please install from our r-universe:

install.packages(
  "odin.dust",
  repos = c("https://mrc-ide.r-universe.dev", "https://cloud.r-project.org"))

If you prefer, you can install from GitHub with remotes:

remotes::install_github("mrc-ide/odin.dust")

You will need recent versions of the dust and odin to use this package, which can be installed in the same way.

License

MIT © Imperial College of Science, Technology and Medicine