emaxmodel.Rd
Use to create an Emax or Imax model
emaxmodel(
isPopulation = TRUE,
checkBaseline = FALSE,
checkFractional = FALSE,
checkInhibitory = FALSE,
checkSigmoid = FALSE,
data = NULL,
columnMap = TRUE,
modelName = "",
workingDir = "",
...
)
Is this a population model TRUE
or individual model FALSE
?
Set to TRUE
if the model contains a baseline response.
Set to TRUE
to modify the default form for the model. Only applicable to models with checkBaseline = TRUE
.
Set to TRUE
to change the model from an Emax to an Imax model.
Set to TRUE
to change the model to its corresponding signmoid form.
Input dataset
If TRUE
(default) column mapping arguments are required.
Set to FALSE
to manually map columns after defining model using colMapping
.
Model name for subdirectory created for model output in current working directory.
Working directory to run the model. Current working directory will be used
if workingDir
not specified.
Arguments passed on to emaxmodel_MappingParameters
ID
Column mapping argument for input dataset column(s)
that identify individual data profiles. Only applicable to population models
isPopulation = TRUE
.
C
Column mapping argument that represents the input dataset column for the independent variable that is treated as a covariate during the estimation/simulation process.
EObs
Column mapping argument that represents the input dataset column for the observed drug effect (i.e., the dependent variable).
Note that quoted and unquoted column names are supported. Please see colMapping
.
if (FALSE) {
model <- emaxmodel(data = pkpdData, ID = "ID", C = "CObs", EObs = "EObs")
model <- emaxmodel(
checkBaseline = TRUE,
checkFractional = TRUE,
checkInhibitory = TRUE,
data = pkpdData,
ID = "ID",
C = "CObs",
EObs = "EObs"
)
# View PML Code
print(model)
}