nonmem2rx: 'nonmem2rx' Converts 'NONMEM' Models to 'rxode2'

'NONMEM' has been a tool for running nonlinear mixed effects models since the 80s and is still used today (Bauer 2019 <doi:10.1002/psp4.12404>). This tool allows you to convert 'NONMEM' models to 'rxode2' (Wang, Hallow and James (2016) <doi:10.1002/psp4.12052>) and with simple models 'nlmixr2' syntax (Fidler et al (2019) <doi:10.1002/psp4.12445>). The 'nlmixr2' syntax requires the residual specification to be included and it is not always translated. If available, the 'rxode2' model will read in the 'NONMEM' data and compare the simulation for the population model ('PRED') individual model ('IPRED') and residual model ('IWRES') to immediately show how well the translation is performing. This saves the model development time for people who are creating an 'rxode2' model manually. Additionally, this package reads in all the information to allow simulation with uncertainty (that is the number of observations, the number of subjects, and the covariance matrix) with a 'rxode2' model. This is complementary to the 'babelmixr2' package that translates 'nlmixr2' models to 'NONMEM' and can convert the objects converted from 'nonmem2rx' to a full 'nlmixr2' fit.

Version: 0.1.2
Imports: checkmate, digest, dparser, lotri, Rcpp, rxode2, magrittr, cli, tools, utils, data.table, qs, xml2, ggplot2, ggforce, crayon
LinkingTo: dparser, Rcpp, rxode2parse
Suggests: devtools, testthat (≥ 3.0.0), nonmemica, NMdata, nonmem2R, withr, nlme, dplyr, xgxr, vdiffr, knitr, rmarkdown, spelling
Published: 2023-07-03
Author: Matthew Fidler ORCID iD [aut, cre], Philip Delff [ctb], Gabriel Staples [ctb] (string insensitive compare)
Maintainer: Matthew Fidler <matt.fidler at>
License: GPL (≥ 3)
NeedsCompilation: yes
Language: en-US
Materials: README NEWS
CRAN checks: nonmem2rx results


Reference manual: nonmem2rx.pdf
Vignettes: Importing NONMEM into rxode2
Qualify rxode2 model against NONMEM
Simulate Derived Variables from imported NONMEM model
Simulate New dosing with covariates
Simulate New dosing from NONMEM model
Simulate using Parameter Uncertainty


Package source: nonmem2rx_0.1.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): nonmem2rx_0.1.2.tgz, r-oldrel (arm64): nonmem2rx_0.1.2.tgz, r-release (x86_64): nonmem2rx_0.1.2.tgz, r-oldrel (x86_64): nonmem2rx_0.1.2.tgz
Old sources: nonmem2rx archive

Reverse dependencies:

Reverse imports: babelmixr2


Please use the canonical form to link to this page.