Reputation: 10956
I am reading the caret
R package's paper on the Journal of Statistical Software link, and on pages 15-16, the author introduced the use of calculating ROC and AUC. However, since version 5.13-037 these functions are no longer available (see here). I think they're convenient functions but not sure why they're deprecated.... Any suggestions on alternative approaches/functions for ROC and AUC? Thanks!
Upvotes: 0
Views: 1529
Reputation: 121568
You can use pROC
package for example:
library(pROC)
data(aSAH)
# Basic example with 2 roc objects
roc1 <- roc(aSAH$outcome, aSAH$s100b)
Upvotes: 1