set_tmdd {pharmr}R Documentation

set_tmdd

Description

Sets target mediated drug disposition

Implemented target mediated drug disposition (TMDD) models are:

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)


[Package pharmr version 1.0.1 Index]