| pairwise.auc | R Documentation |
The function computes pairwise AUCs.
pairwise.auc(x, g)
x |
numeric vector. |
g |
grouping vector or factor |
The function computes pairwise areas under the receiver operating
characteristic curves (AUC under ROC curves) using function AUC.
The implementation is in certain aspects analogously to
pairwise.t.test.
Vector with pairwise AUCs.
Matthias Kohl Matthias.Kohl@stamats.de
AUC, pairwise.t.test
set.seed(13)
x <- rnorm(100)
g <- factor(sample(1:4, 100, replace = TRUE))
levels(g) <- c("a", "b", "c", "d")
pairwise.auc(x, g)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.