gAUC | R Documentation |
General AUC function for Emax, TEmax and AUCs
gAUC(x, y, Ymax = "Emax", XofYmax = "TEmax", AUCname = "AUEClast", iAUC = "",
Outer = "NEAREST")
x |
usually time |
y |
usually concentration or effect. This can be negative/ |
Ymax |
usually Cmax or Emax |
XofYmax |
usually Tmax or TEmax |
AUCname |
usually AUClast or AUEClast |
iAUC |
a data.frame to calculate interval AUCs |
Outer |
indicates how to do the out of x range point |
This is a general purpose AUC function. It calculates only Cmax(Emax), Tmax(TEmax) and AUCs(AUECs). This can be used for effect(pharmacodynamic) data which has negative values. For concentration data, use IntAUC
.
Column names can vary according to the options.
Emax |
maximum y value |
TEmax |
x value at the maximum y value |
AUEClast |
Area under the y versus x curve |
iAUCs |
Columns from iAUC input |
Kyun-Seop Bae <k@acr.kr>
# For one subject
x = Theoph[Theoph$Subject=="1", "Time"]
y = Theoph[Theoph$Subject=="1", "conc"]
gAUC(x, y)
iAUC = data.frame(Name=c("AUC[0-12h]","AUC[0-24h]"), Start=c(0,0), End=c(12,24))
gAUC(x, y, iAUC=iAUC)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.