View source: R/pk_basic_solution.R
pk_basic_solution | R Documentation |
Calculates the solution of a two-comparment model.
pk_basic_solution(k_10, k_12, k_21, v_1, k_R, c_0 = 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 |
k_R |
Rate of infusion (g/h) |
c_0 |
Initial concentrations of c(central, peripheral) compartments |
The 'pk_basic_solution' function implements the two-compartment model solution for fixed parameters k_10, k_12, k_21, v_1, k_R, and c_0 (initial concentrations). This function is based on the solution to a nonhomogeneous linear system of ODEs. The basic solution could also be computed using numerical integration, which is commonly used for more complicated models.
List containing concentration in central and peripheral compartments, respectively.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.