Skip to contents

Imports results of an NLME run into xpose database Use to import NLME model object and NLME object output into xpdb object that is compatible with existing model diagnostic function in Xpose package.

Usage

xposeNlmeModel(model, fitmodelOutput)

Arguments

model

NlmePmlModel model class object generated by Certara.RsNLME package

fitmodelOutput

the output object of Certara.RsNLME::fitmodel() run.

Value

xpdb object

Details

Not all functionality from the xpose package is supported.

Examples

if (FALSE) { # \dontrun{
library(Certara.RsNLME)
library(Certara.Xpose.NLME)

model <- pkmodel(
  parameterization = "Clearance",
  numCompartments = 2,
  data = pkData,
  ID = "Subject",
  Time = "Act_Time",
  A1 = "Amount",
  CObs = "Conc"
)

fit <- fitmodel(model)

xp <- xposeNlmeModel(
  model = model,
  fitmodelOutput = fit
)
} # }