https://github.com/richfitz/rlsoda
R interface to liblsoda
https://github.com/richfitz/rlsoda
Last synced: 22 days ago
JSON representation
R interface to liblsoda
- Host: GitHub
- URL: https://github.com/richfitz/rlsoda
- Owner: richfitz
- License: other
- Created: 2016-10-07T11:45:54.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-10-10T15:10:01.000Z (almost 10 years ago)
- Last Synced: 2025-01-20T22:54:19.763Z (over 1 year ago)
- Language: R
- Size: 44.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rlsoda
[](http://www.repostatus.org/#wip)
[](https://travis-ci.org/richfitz/rlsoda)
[](https://codecov.io/github/richfitz/rlsoda?branch=master)
Highly experimental.
## Installation
For now, run `./setup.sh` in the root to clone/update the upstream liblsoda sources. Yes, this could be done with submodules, but they're a total faff. Soon I'll include the sources directly as we'll need that for travis really, and to work with things like `install_github`.
After that, running `make install` will install the package into your default R library.
## The interface
The interface here is related to `dde` and differs slightly from `deSolve`. Probably the `dde` / `rlsoda` differences can be smoothed over. The interface is tuned so that all modifications to the integrated data are optional so that where speed is really important (e.g., running an MCMC chain with the output of the ODE) unnecessary modifications are not done. This will require some modifications for functions expecting `deSolve`-like output.
## The library
This package uses [Simon Frost](https://github.com/sdwfrost)'s [`liblsoda`](https://github.com/sdwfrost/liblsoda). For ease of installation, this is bundled into the package here.
`liblsoda` is a thread-safe C rewrite of the venerable Fortran `LSODA` algorith (from the Linda Petzold and Alan Hindmarsh).