| auc | R Documentation |
This function takes a vector of x and y values
and returns a scalar for the area under the curve, calculated using
the trapezoid rule
auc(
x,
y,
xlim = NULL,
blank = 0,
subset = NULL,
na.rm = TRUE,
neg.rm = FALSE,
warn_xlim_out_of_range = TRUE,
warn_negative_y = TRUE
)
x |
|
y |
|
xlim |
|
blank |
Value to be subtracted from |
subset |
A |
na.rm |
a |
neg.rm |
a |
warn_xlim_out_of_range |
|
warn_negative_y |
|
A scalar for the total area under the curve
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.