The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

babelmixr2

R-CMD-check CRAN version CRAN total downloads CRAN total downloads Codecov test coverage CodeFactor r-universe

The goal of babelmixr2 is to convert nlmixr2 syntax to other commonly used tools.

Installation

You can install the released version of babelmixr2 from CRAN with:

install.packages("babelmixr2")

You can install from r-universe by:

# Download and install babelmixr2 in R
install.packages('babelmixr2',
                 repos = c(
                   nlmixr2 = 'https://nlmixr2.r-universe.dev',
                   CRAN = 'https://cloud.r-project.org'))

Otherwise you can always install from GitHub:

What you can do with babelmixr2

Babelmixr2 can help you by:

Monolix Setup

While not required, you can get/install the R ‘lixoftConnectors’ package in the ‘Monolix’ installation, as described at the following url https://monolixsuite.slp-software.com/r-functions/2024R1/installation-and-initialization. When ‘lixoftConnectors’ is available, R can run ‘Monolix’ directly instead of using a command line.

PKNCA Example

After installed, if you use the standard interface, you can obtain new initial estimates with PKNCA:

mod <-
  nlmixr2(
    nlmixrFun, nlmmixrData, est = "pknca",
    control = pkncaControl(concu = "ng/mL", doseu = "mg", timeu = "hr", volumeu = "L")
  )

Monolix example

With babelmixr2 loaded, you can use nlmixr2 to convert a nlmixr2 model to Monolix, run with monolix, and import back to nlmixr2 with the following:

mod <- nlmixr(nlmixrFun, nlmmixrData, est="monolix")

NONMEM example

With babelmixr2 loaded you can use nlmixr2 to convert a nlmixr2 model to NONMEM, run NONMEM and import back to nlmixr2 with the following:

mod <- nlmixr(nlmixrFun, nlmmixrData, est="nonmem")

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.