| set_tmdd {pharmr} | R Documentation | 
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)
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. | 
Value
(Model) Pharmpy model object
Examples
## Not run: 
model <- load_example_model("pheno")
model <- set_tmdd(model, "full")
## End(Not run)