Package: odin 1.5.11

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.11.tar.gz
odin_1.5.11.zip(r-4.5)odin_1.5.11.zip(r-4.4)odin_1.5.11.zip(r-4.3)
odin_1.5.11.tgz(r-4.4-any)odin_1.5.11.tgz(r-4.3-any)
odin_1.5.11.tar.gz(r-4.5-noble)odin_1.5.11.tar.gz(r-4.4-noble)
odin_1.5.11.tgz(r-4.4-emscripten)odin_1.5.11.tgz(r-4.3-emscripten)
odin.pdf |odin.html
odin/json (API)
NEWS

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

Peer review:

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

On CRAN:

infrastructure

9.90 score 105 stars 2 packages 282 scripts 897 downloads 13 exports 8 dependencies

Last updated 5 months agofrom:a27f172ad1. Checks:OK: 1 NOTE: 6. Indexed: no.

TargetResultDate
Doc / VignettesOKOct 29 2024
R-4.5-winNOTEOct 31 2024
R-4.5-linuxNOTEOct 29 2024
R-4.4-winNOTEOct 29 2024
R-4.4-macNOTEOct 29 2024
R-4.3-winNOTEOct 29 2024
R-4.3-macNOTEOct 29 2024

Exports:can_compileodinodin_odin_buildodin_irodin_ir_deserialiseodin_js_bundleodin_js_versionsodin_optionsodin_packageodin_parseodin_parse_odin_validate

Dependencies:cinterpolatedeSolvedigestgluejsonliteR6ringwithr

debugging

Rendered fromdebugging.Rmdusingknitr::rmarkdownon Oct 29 2024.

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

Guide to odin docs

Rendered fromguide.Rmdusingknitr::rmarkdownon Oct 29 2024.

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

odin

Rendered fromodin.Rmdusingknitr::rmarkdownon Oct 29 2024.

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

odin discrete models

Rendered fromdiscrete.Rmdusingknitr::rmarkdownon Oct 29 2024.

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

odin functions

Rendered fromfunctions.Rmdusingknitr::rmarkdownon Oct 29 2024.

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