Area Under the Curve(AUC) and Area Under the first Moment Curve(AUMC) by linear trapezoidal method
LinAUC.RdIt calculates AUC and AUMC using the linear trapezoidal method
References
Gabrielsson J, Weiner D. Pharmacokinetic and Pharmacodynamic Data Analysis - Concepts and Applications. 5th ed. 2016.
Shargel L, Yu A. Applied Biopharmaceutics and Pharmacokinetics. 7th ed. 2015.
Rowland M, Tozer TN. Clinical Pharmacokinetics and Pharmacodynamics - Concepts and Applications. 4th ed. 2011.
Gibaldi M, Perrier D. Pharmacokinetics. 2nd ed. revised and expanded. 1982.
Author
Kyun-Seop Bae <[email protected]>
Examples
LinAUC(Theoph[Theoph$Subject==1, "Time"], Theoph[Theoph$Subject==1, "conc"])
#> AUC AUMC
#> 148.923 1459.071
AUC(Theoph[Theoph$Subject==1, "Time"], Theoph[Theoph$Subject==1, "conc"]) # compare the last line
#> AUC AUMC
#> [1,] 0.00000 0.000000
#> [2,] 0.44750 0.088750
#> [3,] 1.95310 0.801534
#> [4,] 6.64735 5.065382
#> [5,] 15.71935 19.138321
#> [6,] 32.13535 66.198241
#> [7,] 42.97695 114.461665
#> [8,] 58.25290 206.281512
#> [9,] 72.75650 322.298798
#> [10,] 92.45055 528.521903
#> [11,] 148.92305 1459.071104