nComp | R Documentation |
It calculates using multi-compartment model.
nComp(Sol, Ka=0, DH)
Sol |
Solution list of lambdas and coefficients |
Ka |
Absorption rate constant |
DH |
Expanded dosing history table |
First compartment is the gut compartment for oral dosing. IV bolus and infusion dosing should be done at the second compartment. If a bolus dose was given at time T, it is reflected at times of larger than T. This is more close to real observation. ADAPT does like this, but NONMEM does not.
This returns a table with the gut and the other compartment columns
Kyun-Seop Bae <k@acr.kr>
DAT
DAT2 = ExpandDH(DAT)
Sol = SolComp2(K10=0.1, K12=3, K21=1)
X2 = nComp(Sol, Ka=1, DAT2)
X2
matplot(DAT2[, "TIME"], X2, type="l")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.