calcAUC(modelPredictions, yValues, ..., na.rm = FALSE, yTarget = TRUE)
| modelPredictions | numeric predictions (not empty), ordered (either increasing or decreasing) |
|---|---|
| yValues | truth values (not empty, same length as model predictions) |
| ... | force later arguments to bind by name. |
| na.rm | logical, if TRUE remove NA values. |
| yTarget | value considered to be positive. |
area under curve
#> [1] 0.6666667