Description Usage Arguments Details Value Examples
AUCtrap
implements several methods for calculating the area
under a piecewise linear function defined by longitudinally measured
values of a variable.
1 2 3 4 5 6 7 |
x |
numeric vector giving the measurement times (x-values) |
... |
further arguments passed to methods |
y |
numeric vector with the measurements corresponding to |
method |
character value defining the calculation method. Defaults to "AUC", which is the total area under the curve |
formula |
a formula of the form |
data |
an optional matrix or data frame containing the variables in
|
subset |
an optional vector specifying a subset of observations to be taken |
na.action |
a function which indicates what should happen when the data
contain |
The implemented methods are total AUC ("AUC"), incremental AUC measured from the first as baseline ("iAUC"), net AUC ("netAUC"), and AUC from the minimum as baseline ("minAUC").
an object of class auctrap
with the following elements
calculated area
sorted x values
y values sorted with x
calculation method
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.