LinAUC: Area Under the Curve(AUC) and Area Under the first Moment...

View source: R/LinAUC.R

LinAUCR Documentation

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

LogAUC, AUC

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 documentation built on June 11, 2022, 9:05 a.m.