Add a metabolite compartment, if requested
add_metabolite_compartment.RdAdd a metabolite compartment, if requested
Arguments
- mod
Pharmpy model object.
- metabolite
either
TRUE/FALSE, or a list with elementsdrug_dvid(integer) andpresystemic(logical). Seecreate_model().- route
route of administration (e.g.
"oral","iv"). A presystemic metabolite cannot be combined withroute = "iv".