Calculate AUC on an elo.run
object
# S3 method for elo.run auc(object, ..., subset = TRUE) # S3 method for elo.glm auc(object, ..., subset = TRUE) # S3 method for elo.running auc(object, running = TRUE, discard.skipped = FALSE, ..., subset = TRUE) # S3 method for elo.markovchain auc(object, ..., subset = TRUE) # S3 method for elo.winpct auc(object, ..., subset = TRUE) # S3 method for elo.colley auc(object, ..., subset = TRUE)
object | An object of class |
---|---|
... | Other arguments (not used at this time). |
subset | (optional) A vector of indices on which to calculate |
running | logical, denoting whether to use the running predicted values. |
discard.skipped | Logical, denoting whether to ignore the skipped observations in the calculation |
The AUC of the predicted Elo probabilities and the actual win results.
Adapted from code here: https://stat.ethz.ch/pipermail/r-help/2005-September/079872.html