structuralParameter.Rd
Use to specify the relationship of the structural parameter with corresponding fixed effect, random effect, and covariate.
structuralParameter(
.Object,
paramName,
fixedEffName = NULL,
randomEffName = NULL,
style = "LogNormal",
hasRandomEffect = NULL
)
Model object
Name of the structural parameter
Name of the corresponding fixed effect
Name of the corresponding random effect; only applicable to population models.
Use to specify the relationship of the structural parameter with its corresponding fixed effect, random effect, and covariate, if exists.
"LogNormal"
(Default): The structural parameter
is defined as Product * exp(Eta)
.
"LogNormal1"
: The structural parameter
is defined as Sum * exp(Eta)
.
"LogNormal2"
: The structural parameter
is defined as exp(Sum + Eta)
.
"LogitNormal"
: The structural parameter
is defined as ilogit(Sum + Eta)
.
"Normal"
The structural parameter
is defined as Sum + Eta)
Product
denotes the product of the corresponding
fixed effect and covariate effect terms (if exists),
Eta
represents the corresponding random effect,
and Sum
denotes the sum of its corresponding fixed effect
and covariate effect terms (if exists).
Set to FALSE
to remove
the corresponding random effect from the model.
Only applicable to population models.
If NULL
the system will automatically set
hasRandomEffect = TRUE
for population models,
and hasRandomEffect = FALSE
for individual models.
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
)