Package: odin 1.5.12

Rich FitzJohn

odin: ODE Generation and Integration

Generate systems of ordinary differential equations (ODE) and integrate them, using a domain specific language (DSL). The DSL uses R's syntax, but compiles to C in order to efficiently solve the system. A solver is not provided, but instead interfaces to the packages 'deSolve' and 'dde' are generated. With these, while solving the differential equations, no allocations are done and the calculations remain entirely in compiled code. Alternatively, a model can be transpiled to R for use in contexts where a C compiler is not present. After compilation, models can be inspected to return information about parameters and outputs, or intermediate values after calculations. 'odin' is not targeted at any particular domain and is suitable for any system that can be expressed primarily as mathematical expressions. Additional support is provided for working with delays (delay differential equations, DDE), using interpolated functions during interpolation, and for integrating quantities that represent arrays.

Authors:Rich FitzJohn [aut, cre], Thibaut Jombart [ctb], Imperial College of Science, Technology and Medicine [cph]

odin_1.5.12.tar.gz
odin_1.5.12.zip(r-4.7)odin_1.5.12.zip(r-4.6)odin_1.5.12.zip(r-4.5)
odin_1.5.12.tgz(r-4.6-any)odin_1.5.12.tgz(r-4.5-any)
odin_1.5.12.tar.gz(r-4.7-any)odin_1.5.12.tar.gz(r-4.6-any)
odin_1.5.12.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
odin/json (API)

# Install 'odin' in R:
install.packages('odin', repos = c('https://fastverse.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/mrc-ide/odin/issues

On CRAN:

Conda:

infrastructure

10.02 score 106 stars 6 packages 295 scripts 1.1k downloads 1 mentions 13 exports 8 dependencies

Last updated from:d8ff02081c. Checks:7 NOTE, 2 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64NOTE154
source / vignettesOK183
linux-release-x86_64NOTE162
macos-release-arm64NOTE114
macos-oldrel-arm64NOTE89
windows-develNOTE128
windows-releaseNOTE119
windows-oldrelNOTE131
wasm-releaseOK105

Exports:can_compileodinodin_odin_buildodin_irodin_ir_deserialiseodin_js_bundleodin_js_versionsodin_optionsodin_packageodin_parseodin_parse_odin_validate

Dependencies:cinterpolatedeSolvedigestgluejsonliteR6ringwithr

Guide to odin docs
The packages | Documentation | The TypeScript ecosystem | Roadmap

Last update: 2023-08-09
Started: 2023-08-09

odin
Single variable: Logistic growth | Specifying parameters | More than one variable: the Lorenz attractor | Delay models | Arrays | Generalised Lotka-Volterra model | Interpolating functions

Last update: 2023-05-03
Started: 2016-03-09

debugging
Using print() | print format strings | Conditional display | Controlling precision | Current limitations

Last update: 2023-03-02
Started: 2023-03-02

odin discrete models
Discrete compartmental models in a nutshell | From continuous to discrete time | Stochastic processes | Binomial distribution | Poisson distribution | Multinomial distribution | Implementation using odin | Deterministic SIR model | Stochastic SIR model | A stochastic SEIRDS model

Last update: 2022-10-26
Started: 2018-03-01

odin functions
Basic operators | Array support | Operators | Mathematical operators | Stochastic models

Last update: 2022-10-26
Started: 2020-05-26