Learn R Programming

Certara.RDarwin (version 1.1.1)

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 structural parameter giving the time lag for the doses coming into current Dosepoint.

bioavail

An optional structural parameter giving the bioavailability of the doses coming into current Dosepoint.

duration

An optional structural parameter giving the duration of infusion for the doses coming into current Dosepoint.

rate

An optional structural parameter giving the rate of infusion for the doses coming into current Dosepoint.

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()

Functions used for Dosepoint specification: 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