Run Model Executor
modelExecutorUI.Rd
Used to execute a model developed in Certara.RsNLME
from a Shiny GUI.
Usage
modelExecutorUI(
model,
hosts,
wd,
outputfile = "shiny_dirs.txt",
metamodelFileName = "temp.mmdl",
fromPirana = FALSE
)
Arguments
- model
Model object generated from
Certara.RsNLME
.- hosts
One or more hosts generated from
Certara.RsNLME::hostParams()
. If missing, the default local host will be used.- wd
Working directory where the model output folders will be created. If missing, the directory specified in the model object will be used
model@modelInfo@workingDir
.- outputfile
Text file providing a list of model output subfolders generated inside
wd
during the Shiny session. Only applicable for Pirana.- metamodelFileName
Name of the resulting metamodel to generate. Only applicable for Pirana.
- fromPirana
Logical; set to
TRUE
when launching app from Pirana.
Examples
if (interactive()) {
model <- Certara.RsNLME::pkmodel(
parameterization = "Clearance",
absorption = "Intravenous",
numCompartments = 2,
data = Certara.RsNLME::pkData,
ID = "Subject",
A1 = "Amount",
Time = "Act_Time",
CObs = "Conc",
modelName = "pk_model")
modelExecutorUI(model)
}