Learn R Programming

NonCompart (version 0.2.4)

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

Value

Details

This function returns AUC and AUMC by 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