Description
Nonlinear Mixed Effects Models in Population PK/PD, Data.
Description
Datasets for 'nlmixr2' and 'rxode2'. 'nlmixr2' is used for fitting and comparing nonlinear mixed-effects models in differential equations with flexible dosing information commonly seen in pharmacokinetics and pharmacodynamics (Almquist, Leander, and Jirstrand 2015 <doi:10.1007/s10928-015-9409-1>). Differential equation solving is by compiled C code provided in the 'rxode2' package (Wang, Hallow, and James 2015 <doi:10.1002/psp4.12052>).
README.md
nlmixr2data
The goal of nlmixr2data is to include all the example datasets from the nlmixr2 project in one place.
Example
This shows the theo_sd
dataset, the hello world for nlmixr2.
library(nlmixr2data)
head(theo_sd)
#> ID TIME DV AMT EVID CMT WT
#> 1 1 0.00 0.00 319.992 101 1 79.6
#> 2 1 0.00 0.74 0.000 0 2 79.6
#> 3 1 0.25 2.84 0.000 0 2 79.6
#> 4 1 0.57 6.57 0.000 0 2 79.6
#> 5 1 1.12 10.50 0.000 0 2 79.6
#> 6 1 2.02 9.66 0.000 0 2 79.6
Installation
You can install the development version of nlmixr2data from GitHub with:
# install.packages("remotes")
remotes::install_github("nlmixr2/nlmixr2data")