LogAUC.Rd
It calculates AUC and AUMC using the linear-up log-down method
LogAUC(x, y)
vector values of the independent variable, usually time
vector values of the dependent variable, usually concentration
This function returns AUC and AUMC by the linear-up log-down method.
area under the curve
area under the first moment curve
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.
LogAUC(Theoph[Theoph$Subject==1, "Time"], Theoph[Theoph$Subject==1, "conc"])
#> AUC AUMC
#> 147.2347 1499.1291
# Compare the last line with the above
AUC(Theoph[Theoph$Subject==1, "Time"], Theoph[Theoph$Subject==1, "conc"], down="Log")
#> AUC AUMC
#> [1,] 0.00000 0.000000
#> [2,] 0.44750 0.088750
#> [3,] 1.95310 0.801534
#> [4,] 6.64735 5.065382
#> [5,] 15.71410 19.243482
#> [6,] 32.11090 66.830600
#> [7,] 42.95189 115.151380
#> [8,] 58.21173 207.426110
#> [9,] 72.70744 323.774418
#> [10,] 92.36544 531.108538
#> [11,] 147.23475 1499.129085