pkmod2cpt | R Documentation |
Two compartment IV infusion with first-order elimination. Elimination from peripheral compartment is assumed to be zero unless 'k20' is specified.
pkmod2cpt(tm, kR, pars, init = c(0, 0))
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','V1','V2') or ('CL','Q','V1','V2'). |
init |
Initial concentration. Defaults to 0 in both compartments. |
Numeric matrix of concentrations for a constant infusion rate
pkmod2cpt(1,1,c(CL = 15, V1 = 10, Q2 = 10, V2 = 20)) pkmod2cpt(1,1,c(CL = 15, v1 = 10, Q2 = 10, V2 = 20, cl2 = 4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.