powered by
Calculates ROC and AUC
roc(fitted, actual)
Vector with values between 0 and 1
Vector with two levels
ezplot:::roc(runif(1), sample(c(TRUE, FALSE), 1, replace = TRUE)) ezplot:::roc(runif(3), sample(c(TRUE, FALSE), 3, replace = TRUE))
Run the code above in your browser using DataLab