roc | R Documentation |
Calculates ROC and AUC
roc(fitted, actual)
fitted |
Vector with values between 0 and 1 |
actual |
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.