ExpandDH.Rd
It expands dosing history table.
ExpandDH(DH, Fo = 1)
DH | Dosing history table of NONMEM type |
---|---|
Fo | Bioavailability of the first (gut) compartment |
It expands dosing history table of conventional NONMEM data format. It calculate bioavailable amount, then add time points of non-differentiable, e.g. stopping points of infusion.
Returns expanded dosing history table.
Kyun-Seop Bae <k@acr.kr>
DAT#> TIME AMT RATE CMT DV #> 1 0 100 0 2 NA #> 2 1 NA NA NA NA #> 3 2 NA NA NA NA #> 4 4 NA NA NA NA #> 5 8 NA NA NA NA #> 6 12 NA NA NA NA #> 7 24 150 50 2 NA #> 8 25 NA NA NA NA #> 9 26 NA NA NA NA #> 10 28 NA NA NA NA #> 11 32 NA NA NA NA #> 12 36 NA NA NA NA #> 13 48 100 0 1 NA #> 14 49 NA NA NA NA #> 15 50 NA NA NA NA #> 16 52 NA NA NA NA #> 17 56 NA NA NA NA #> 18 60 NA NA NA NAExpandDH(DAT) # One observation point is increased at the time of 27.#> TIME AMT RATE CMT DV BOLUS RATE2 #> 1 0 100 0 2 0 100 0 #> 2 1 0 0 0 0 0 0 #> 3 2 0 0 0 0 0 0 #> 4 4 0 0 0 0 0 0 #> 5 8 0 0 0 0 0 0 #> 6 12 0 0 0 0 0 0 #> 7 24 150 50 2 0 0 50 #> 8 25 0 0 2 0 0 50 #> 9 26 0 0 2 0 0 50 #> 19 27 0 0 0 0 0 0 #> 10 28 0 0 0 0 0 0 #> 11 32 0 0 0 0 0 0 #> 12 36 0 0 0 0 0 0 #> 13 48 100 0 1 0 100 0 #> 14 49 0 0 0 0 0 0 #> 15 50 0 0 0 0 0 0 #> 16 52 0 0 0 0 0 0 #> 17 56 0 0 0 0 0 0 #> 18 60 0 0 0 0 0 0