|Many (and one) area aunder the curve values||R Documentation|
Many are aunder the curve values.
colaucs(group, preds) auc(group, preds)
A numerical vector with two values, one of which must be strictly 1.
A numerical matrix with scores, probabilities or any other measure. In the case of auc this is a vector.
The AUCs are calculated column-wise or just an AUC if the vector function is used.
A vector with length equal to the number of columns of the "preds" argument. The AUC vlaues for each column. If the "auc" function is used then a signle number is returned.
R implementation and documentation: Michail Tsagris <email@example.com> and Manos Papadakis <firstname.lastname@example.org>.
ttests, ttest, ftests
## 200 variables, hence 200 AUCs will be calculated x <- matrix( rnorm(100 * 200), ncol = 200 ) ina <- rbinom(100, 1, 0.6) system.time( colaucs(ina, x) ) a <- colaucs(ina, x) b <- auc(ina, x[, 1]) x <- NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.