Description
Parsing and Code Generation Functions for 'rxode2'.
Description
Provides the parsing needed for 'rxode2' (Wang, Hallow and James (2016) <doi:10.1002/psp4.12052>). It also provides the 'stan' based advan linear compartment model solutions with gradients (Carpenter et al (2015), <doi:10.48550/arXiv.1509.07164>) needed in 'nlmixr2' (Fidler et al (2019) <doi:10.1002/psp4.12445>). This split will reduce computational burden of recompiling 'rxode2'.
README.md
rxode2parse
The goal of rxode2parse is to split off the ‘rxode2’ parsing from the ode solving and C compilation of models. This can allow the rxode2 ui to be in a R only package (which is easier to update and check).
Installation
You can install the development version of rxode2parse from GitHub with:
# install.packages("devtools")
devtools::install_github("nlmixr2/rxode2parse")
Examples
This is mostly to parse an rxode2
model and generate information about it; eventually it will produce code but here it simply generates model variables:
rxode2parse("a=3")