CRAN/E | odin

odin

ODE Generation and Integration

Installation

About

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.

github.com/mrc-ide/odin
Bug report File report

Key Metrics

Version 1.2.5
Published 2023-10-02 216 days ago
Needs compilation? no
License MIT
License File
CRAN checks odin results
Language en-GB

Downloads

Yesterday 5 0%
Last 7 days 182 -15%
Last 30 days 808 -11%
Last 90 days 2.541 -7%
Last 365 days 9.958 +19%

Maintainer

Maintainer

Rich FitzJohn

rich.fitzjohn@gmail.com

Authors

Rich FitzJohn

aut / cre

Thibaut Jombart

ctb

Imperial College of Science
Technology
Medicine

cph

Material

README
NEWS
Reference manual
Package source

In Views

DifferentialEquations
Epidemiology

Vignettes

odin discrete models
odin functions
odin

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

odin archive

Imports

R6
cinterpolate ≥ 1.0.0
deSolve
digest
glue
jsonlite
ring
withr

Suggests

dde ≥ 1.0.0
jsonvalidate ≥ 1.1.0
knitr
mockery
pkgbuild
pkgload
rlang
rmarkdown
testthat