Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

LinAUC

Area Under the Curve(AUC) and Area Under the first Moment Curve(AUMC) by linear trapezoidal method


Description

It calculates AUC and AUMC using linear trapezoidal method

Usage

LinAUC(x, y)

Arguments

x

vector values of independent variable, usually time

y

vector values of dependent variable, usually concentration

Details

This function returns AUC and AUMC by linear trapezoidal method.

Value

AUC

area under the curve

AUMC

area under the first moment curve

Author(s)

Kyun-Seop Bae <k@acr.kr>

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.

See Also

Examples

LinAUC(Theoph[Theoph$Subject==1, "Time"], Theoph[Theoph$Subject==1, "conc"])
AUC(Theoph[Theoph$Subject==1, "Time"], Theoph[Theoph$Subject==1, "conc"]) # compare the last line

pkr

Pharmacokinetics in R

v0.1.2
GPL-3
Authors
Kyun-Seop Bae [aut], Jee Eun Lee [aut]
Initial release
2018-06-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.