auc | R Documentation |
Calculate the area under the curve.
auc(x, ...)
x |
object of class |
... |
other arguments (none are used at the moment). |
returns the area under the curve for a roc
class object.
Mathijs Deen
a <- roc(QIDS$QIDS, QIDS$depression, c("Yes","No"), "Yes")
auc(a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.