Create an Expression object
Expression.Rd
Represents a PML expression that can include text and structural parameters (StParm). This is used for arguments like tlag, bioavail, duration, or rate in Dosepoint.
Arguments
- ExpressionText
Character string. The primary textual representation of the expression (e.g., "1-F", "Tlag", "Rate * exp(Effect)").
- ContainedStParms
List. A list containing any StParm objects that are referenced by or associated with this
ExpressionText.
TheState
of structural parameters depends on theState
of expression (i.e. specification ofState
is not supported).- State
Character string. The state of the expression and the associated structural parameters, controlling its inclusion or search status in the model. Must be one of 'Present', 'None', or 'Searched'.
Value
A new object of class Expression
, which is a list containing the
provided arguments (ExpressionText
, ContainedStParms
, State
).
Examples
PMLParametersSets <-
get_PMLParametersSets(CompartmentsNumber = c(1, 2, 3),
Absorption = c("First-Order"))
# add dosepoint
PMLParametersSets <-
add_Dosepoint(PMLParametersSets,
DosepointName = "A1",
bioavail = Expression("1 - Fa"),
duration = Expression("Tlag",
ContainedStParms = list(StParm("Tlag"))))