XposeNlme example xpose_data object
xpdb_ex_Nlme.RdAn example xpose::xpose_data object for use in examples
and tests. It holds a one-compartment (Clearance-parameterized) PK model with
three covariates, fit with Phoenix NLME (phx/nlme) and imported via
xposeNlmeModel().
Format
An xpose::xpose_data object.
Details
The model was built from the real Certara.RsNLME::pkData
dataset (16 subjects, 112 observations, single bolus dose) using a
clearance-parameterized one-compartment model with a proportional residual
error, diagonal random effects on V and Cl, and the covariates
age and wt (continuous) plus sex (categorical:
male/female). Roughly reproduced with:
library(Certara.RsNLME)
model <- pkmodel(
parameterization = "Clearance",
numCompartments = 1,
data = pkData,
ID = "Subject",
Time = "Act_Time",
A1 = "Amount",
CObs = "Conc",
workingDir = tempdir()
) |>
addCovariate("age") |>
addCovariate("wt") |>
addCovariate("sex", type = "Categorical",
levels = c(0, 1), labels = c("male", "female")) |>
colMapping(age = "Age", wt = "BodyWeight", sex = "Gender")Examples
print(xpdb_ex_Nlme)
#> overview:
#> - Software: phx/nlme 26.9.0.746
#> - Attached files (memory usage 15.6 Mb):
#> + obs tabs: $prob no.1: nlme
#> + sim tabs: <none>
#> + output files: ConvergenceData, Overall, prmTable
#> + special: nlme eta_subject (#1)
#> - gg_theme:
#> - xp_theme: (modified)
#> - Options: dir = NULL, quiet = TRUE