gIntAUC | R Documentation |
It calculates interval AUC of general form. This is useful for pharmacodynamic data.
gIntAUC(x, y, t1, t2, Outer = "NEAREST")
x |
vector values of independent variable, usually time |
y |
vector values of dependent variable, usually concentration |
t1 |
start time for AUC |
t2 |
end time for AUC |
Outer |
indicates how to do the out of x range point |
This calculates an interval (partial) AUC (from t1 to t2) with the given series of x and y.
If t1 and/or t2 cannot be found within x vector, it interpolates.
If t1 and/or t2 are out of x range, it uses the nearest value.
For concentration data, use IntAUC
.
return interval AUC value (scalar)
Kyun-Seop Bae <k@acr.kr>
gAUC
, gInterpol
, tblAUC
gIntAUC(Theoph[Theoph$Subject==1, "Time"], Theoph[Theoph$Subject==1, "conc"], t1=0.5, t2=11)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.