Learn R Programming

NonCompart (version 0.7.0)

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 the linear trapezoidal method

Usage

LinAUC(x, y)

Value

AUC

area under the curve

AUMC

area under the first moment curve

Arguments

x

vector values of the independent variable, usually time

y

vector values of the dependent variable, usually concentration

Author

Kyun-Seop Bae <k@acr.kr>

Details

This function returns AUC and AUMC by the linear trapezoidal method.

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

LogAUC, AUC

Examples

Run this code
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

Run the code above in your browser using DataLab