It calculates AUC and AUMC using the linear-up log-down method

LogAUC(x, y)

Arguments

x

vector values of the independent variable, usually time

y

vector values of the dependent variable, usually concentration

Details

This function returns AUC and AUMC by the linear-up log-down method.

Value

AUC

area under the curve

AUMC

area under the first moment curve

References

  1. Gabrielsson J, Weiner D. Pharmacokinetic and Pharmacodynamic Data Analysis - Concepts and Applications. 5th ed. 2016.

  2. Shargel L, Yu A. Applied Biopharmaceutics and Pharmacokinetics. 7th ed. 2015.

  3. Rowland M, Tozer TN. Clinical Pharmacokinetics and Pharmacodynamics - Concepts and Applications. 4th ed. 2011.

  4. Gibaldi M, Perrier D. Pharmacokinetics. 2nd ed. revised and expanded. 1982.

Author

Kyun-Seop Bae <k@acr.kr>

See also

Examples

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