Description
Use 'nlmixr2' to Interact with Open Source and Commercial Software.
Description
Run other estimation and simulation software via the 'nlmixr2' (Fidler et al (2019) <doi:10.1002/psp4.12445>) interface including 'PKNCA', 'NONMEM' and 'Monolix'. While not required, you can get/install the 'lixoftConnectors' package in the 'Monolix' installation, as described at the following url <https://monolix.lixoft.com/monolix-api/lixoftconnectors_installation/>. When 'lixoftConnectors' is available, 'Monolix' can be run directly instead of setting up command line usage.
README.md
babelmixr2
The goal of babelmixr2 is to convert nlmixr2 syntax to other commonly used tools.
Installation
If we decide to submit to CRAN, you can install the released version of babelmixr2 from CRAN with:
install.packages("babelmixr2")
Otherwise you can always install from GitHub:
remotes::install_github("nlmixr2/babelmixr2")
Monolix Setup
While not required, you can get/install the R 'lixoftConnectors' package in the 'Monolix' installation, as described at the following url https://monolix.lixoft.com/monolix-api/lixoftconnectors_installation/. When 'lixoftConnectors' is available, R can run 'Monolix' directly instead of using a command line.
Example
After installed, if you use the standard interface, you can convert to Monolix with
mod <- nlmixr(nlmixrFun, nlmmixrData, est="monolix")
or, you can convert to NONMEM with
mod <- nlmixr(nlmixrFun, nlmmixrData, est="nonmem")