Learn R Programming

pharmr (version 1.4.0)

set_tmdd: set_tmdd

Description

Sets target mediated drug disposition

Implemented target mediated drug disposition (TMDD) models are:

  • Full model

  • Irreversible binding approximation (IB)

  • Constant total receptor approximation (CR)

  • Irreversible binding and constant total receptor approximation (CR+IB)

  • Quasi steady-state approximation (QSS)

  • Wagner

  • Michaelis-Menten approximation (MMAPP)

Usage

set_tmdd(model, type, dv_types = NULL)

Value

(Model) Pharmpy model object

Arguments

model

(Model) Pharmpy model

type

(str) Type of TMDD model

dv_types

(list(str=numeric) (optional)) Dictionary of DV types for TMDD models with multiple DVs (e.g. dv_types = list('drug' = 1, 'target'= 2)). Default is NULL which means that all observations are treated as drug observations. For dv = 1 the only allowed keys are 'drug' and 'drug_tot'. If no DV for drug is specified then (free) drug will have dv = 1.

Examples

Run this code
if (FALSE) {
model <- load_example_model("pheno")
model <- set_tmdd(model, "full")
}

Run the code above in your browser using DataLab