Learn R Programming

Certara.RDarwin (version 1.2.0)

Expression: Create an Expression object

Description

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.

Usage

Expression(
  ExpressionText = character(),
  ContainedStParms = list(),
  State = "Present"
)

Value

A new object of class Expression, which is a list containing the provided arguments (ExpressionText, ContainedStParms, State).

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. The State of structural parameters depends on the State of expression (i.e. specification of State 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'.

See Also

Dosepoint(), StParm()

Examples

Run this code
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"))))

Run the code above in your browser using DataLab