pk_solution | R Documentation |
The 'pk_solution' function impelments a piecewise solution to the two-compartment model, taking into account the sequence of dosing events:
pk_solution(k_10, k_12, k_21, v_1, ivt, init = c(0, 0))
k_10 |
Elimination rate from central compartment |
k_12 |
Elimination rate from central to peripheral compartment |
k_21 |
Elimination rate from peripheral to central compartment |
v_1 |
Volume of central compartment |
ivt |
List with containing start of infusion times (h), end of infusion times (h), and rate of infusion (g/h) at each dose |
init |
Initial concentration of drug in c(central, peripheral) compartments |
A function that will compute concentration of drug in the body given time since first infusion.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.