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.
Certara.Xpose.NLME
is an R package used to creates xpose
databases (xpose_data
) for PML/NLME results. Additionally,
Certara.Xpose.NLME
offers various covariate model
diagnostic functions, not available in the xpose
package.
install.packages("Certara.Xpose.NLME",
repos = c("https://certara.jfrog.io/artifactory/certara-cran-release-public/",
"https://cloud.r-project.org"),
method = "libcurl")
install.packages("Certara.Xpose.NLME",
repos = c("https://certara.jfrog.io/artifactory/certara-cran-release-public/",
"https://cloud.r-project.org"))
xpose_data
object from NLME model execution
directory/files, compatible with xpose
functionsdata.frame
for table formattinglibrary(Certara.RsNLME)
library(Certara.Xpose.NLME)
library(xpose)
library(ggplot2)
# Create two-compartment pharmacokinetic model
<- pkmodel(numCompartments = 2, data = pkData,
model ID = "Subject", Time = "Act_Time", A1 = "Amount", CObs = "Conc",
modelName = "TwCpt_IVBolus_FOCE_ELS")
# Update parameters and residual error
<- model |>
model structuralParameter(paramName = "V2", hasRandomEffect = FALSE) |>
fixedEffect(effect = c("tvV", "tvCl", "tvV2", "tvCl2"), value = c(15, 5, 40, 15)) |>
randomEffect(effect = c("nV", "nCl", "nCl2"), value = rep(0.1, 3)) |>
residualError(predName = "C", SD = 0.2)
# Fit model
<- fitmodel(model)
job
# Create xpose_data object from model + fit objects in R using xposeNlmeModel()
<- xposeNlmeModel(model, job)
xp
# Alternatively, create xpose_data object from model output directory using xposeNlme()
<- xposeNlme(dir = "./TwCpt_IVBolus_FOCE_ELS", modelName = "TwCpt_IVBolus_FOCE_ELS")
xp
# Use xpose plotting function with theme from ggplot2
res_vs_idv(xpdb) +
theme_classic()
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.