Learn R Programming

Certara.RDarwin (version 1.2.0)

modify_Dosepoint: Modify Dosepoint in PML models

Description

Modify Dosepoint in PML models

Usage

modify_Dosepoint(
  PMLParametersSets,
  DosepointName,
  tlag,
  bioavail,
  duration,
  rate,
  PMLStructures = NULL
)

Value

An updated list of PML models (PMLModels class instance) matching the specified options.

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, an Expression object, or a character string (which will be converted to an Expression).

bioavail

An optional parameter for bioavailability. Can be an StParm object, an Expression 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, an Expression 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, an Expression 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

Run this code
PMLParametersSets <-
  get_PMLParametersSets(CompartmentsNumber = c(1, 2, 3))
# update structural paramter type
PMLParametersSetsVMod <-
 modify_Dosepoint(PMLParametersSets,
            DosepointName = "A1",
            tlag = StParm(StParmName = "Tlag",
                          State = "Searched"))

Run the code above in your browser using DataLab