monolix2rx {monolix2rx} | R Documentation |
Translate a monolix file to rxode2
monolix2rx(
mlxtran,
update = TRUE,
thetaMatType = c("sa", "lin"),
sd = 1,
cor = 1e-05,
theta = 0.5,
ci = 0.95,
sigdig = 3,
envir = parent.frame()
)
mlxtran |
file name for mlxtran to translate to rxode2 |
update |
is a boolean that represents if the final parameter estimates should be used for the translation (when present) |
thetaMatType |
This lists the preferred source for |
sd |
Default standard deviation for between subject variability/inter-occasion variability that are missing. |
cor |
Default correlation for missing correlations estimate |
theta |
default population estimate |
ci |
confidence interval for validation, by default 0.95 |
sigdig |
number of significant digits for validation, by default 3 |
envir |
represents the environment used for evaluating the corresponding rxode2 function |
rxode2 model
Matthew L. Fidler
# First load in the model; in this case the theo model
# This is modified from the Monolix demos by saving the model
# File as a text file (hence you can access without model library)
# setup.
#
# This example is also included in the monolix2rx package, so
# you refer to the location with `system.file()`:
pkgTheo <- system.file("theo", package="monolix2rx")
rx <- monolix2rx(file.path(pkgTheo, "theophylline_project.mlxtran"))
pkgCov <- system.file("cov", package="monolix2rx")
rx <- monolix2rx(file.path(pkgCov, "warfarin_covariate3_project.mlxtran"))
rx