structuralParameter {Certara.RsNLME} | R Documentation |
Set structural parameter in model object
Description
Use to specify the relationship of the structural parameter with corresponding fixed effect, random effect, and covariate.
Usage
structuralParameter(
.Object,
paramName,
fixedEffName = NULL,
randomEffName = NULL,
style = "LogNormal",
hasRandomEffect = NULL
)
Arguments
.Object |
Model object |
paramName |
Name of the structural parameter |
fixedEffName |
Name of the corresponding fixed effect |
randomEffName |
Name of the corresponding random effect; only applicable to population models. |
style |
Use to specify the relationship of the structural parameter with its corresponding fixed effect, random effect, and covariate, if exists.
|
hasRandomEffect |
Set to |
Value
Modified NlmePmlModel
object
Examples
model <- pkindirectmodel(
indirectType = "LimitedInhibition",
isBuildup = FALSE,
data = pkpdData,
ID = "ID",
Time = "Time",
A1 = "Dose",
CObs = "CObs",
EObs = "EObs"
)
# Change style of structural parameter "Imax" to "LogitNormal"
# and rename fixed effect to "tvlogitImax"
model <- structuralParameter(model,
paramName = "Imax",
style = "LogitNormal", fixedEffName = "tvlogitImax"
)
# Remove random effect for structural parameter "IC50"
model <- structuralParameter(model,
paramName = "IC50",
hasRandomEffect = FALSE
)