Modify Dosepoint in PML models
modify_Dosepoint.Rd
Modify Dosepoint in PML models
Usage
modify_Dosepoint(
PMLParametersSets,
DosepointName,
tlag,
bioavail,
duration,
rate,
PMLStructures = NULL
)
Arguments
- PMLParametersSets
A list of PML parameters sets (
PMLModels
class instance).- DosepointName
A character string giving the name of the Dosepoint.
- tlag
An optional parameter for the time lag. Can be an
StParm
object, anExpression
object, or a character string (which will be converted to an Expression).- bioavail
An optional parameter for bioavailability. Can be an
StParm
object, anExpression
object, or a character string (which will be converted to an Expression).- duration
An optional parameter for the duration of infusion. Can be an
StParm
object, anExpression
object, or a character string (which will be converted to an Expression).- rate
An optional parameter for the rate of infusion. Can be an
StParm
object, anExpression
object, or a character string (which will be converted to an Expression).- PMLStructures
Character or character vector specifying names of PML structures in which the dosepoint statement will be modified. For the naming convention of PMLStructures, see Details section of
get_PMLParametersSets()
.
Details
This function can only be used to modify the structural parameters
in the built-in models (i.e., created using either create_ModelEmax()
or
create_ModelPK()
).
See also
list_Dosepoints()
, add_Dosepoint()
Functions used for Dosepoint specification:
Dosepoint()
,
add_Dosepoint()
,
create_ModelPK()
Examples
PMLParametersSets <-
get_PMLParametersSets(CompartmentsNumber = c(1, 2, 3))
# update structural paramter type
PMLParametersSetsVMod <-
modify_Dosepoint(PMLParametersSets,
DosepointName = "A1",
tlag = StParm(StParmName = "Tlag",
State = "Searched"))