Calculate the amounts in all compartments in a compartmental PK system based on a given concentration in the central compartment, and assuming steady state.
Source:R/calc_amts_for_conc.R
calc_amts_for_conc.Rd
Calculate the amounts in all compartments in a compartmental PK system based on a given concentration in the central compartment, and assuming steady state.
Examples
calc_amts_for_conc(conc = 10, parameters = list(CL = 5, V = 50), n_cmt = 1)
#> [1] 500
calc_amts_for_conc(
conc = 10,
parameters = list(CL = 5, V = 50, Q = 20, V2 = 100),
n_cmt = 2)
#> [1] 500 1000
calc_amts_for_conc(
conc = 10,
parameters = list(CL = 5, V = 50, Q = 20, V2 = 100, Q2 = 30, V3 = 200),
n_cmt = 3)
#> [1] 500 1000 2000