pkmod3cptm: Solution to three-compartment IV model with effect-site
Description
3 compartment IV infusion with first-order absorption between compartments and with an additional effect-site compartment.
The analytical solutions implemented in this function are provided in "ADVAN-style analytical solutions for common pharmacokinetic models" by
Abuhelwa et al. 2015.
Usage
pkmod3cptm(tm, kR, pars, init = c(0, 0, 0, 0))
Value
Numeric matrix of concentrations for a constant infusion rate
Arguments
tm
Vector of times to evaluate the PK function at
kR
Infusion rate (e.g. ml/min).
pars
Named vector of parameters with names (k10,k12,k21,k13,k31,v1,v2,v3,ke0)
init
Initial concentration
Details
This function takes in arguments for each of the absorption and elimination rate constants of a three-compartment model
as well as initial concentrations, c0. ke0 gives the rate of elimination from the effect-site compartment into the
central compartment (i.e. k41). The rate of absorption into the effect-site compartment is set at 1/10,000 the value of ke0.
The function returns a set of functions that calculate the concentration in each of the four compartments as a function of
time.