One compartment model - analytical
It calculates using one compartment model.
Comp1(Ke, Ka=0, DH)
Ke
: Elimination rate constantKa
: Absorption rate constantDH
: Expanded dosing history tableFirst compartment is the gut compartment for oral dosing. IV bolus and infusion dosing should be done at the second compartment.
This returns a table with the gut and the central compartment columns
Kyun-Seop Bae k@acr.kr
DAT DAT2 = ExpandDH(DAT) X1 = Comp1(Ke=0.1, Ka=1, DAT2) X1 matplot(DAT2[, "TIME"], X1, type="l")