AUC | R Documentation |
Calculate Area Under the Curve(AUC) and the first Moment Curve(AUMC) in two ways; 'linear trapezoidal method' or 'linear-up and log-down' method. Return a table of cumulative values.
AUC(x, y, down = "Linear")
x |
vector values of independent variable, usually time |
y |
vector values of dependent variable, usually concentration |
down |
either of |
down="Linear"
means linear trapezoidal rule with linear interpolation.
down="Log"
means linear-up and log-down method.
Table with two columns, AUC
and AUMC
; the first column values are cumulative AUCs and the second column values cumulative AUMCs.
Kyun-Seop Bae <k@acr.kr>
Rowland M, Tozer TN. Clinical Pharmacokinetics and Pharmacodynamics - Concepts and Applications. 4th ed. pp687-689. 2011.
LinAUC
, LogAUC
AUC(Theoph[Theoph$Subject==1, "Time"], Theoph[Theoph$Subject==1, "conc"])
AUC(Theoph[Theoph$Subject==1, "Time"], Theoph[Theoph$Subject==1, "conc"], down="Log")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.