auc.elo | R Documentation |
elo.run
objectCalculate AUC on an elo.run
object
## S3 method for class 'elo.run'
auc(object, ..., subset = TRUE)
## S3 method for class 'elo.glm'
auc(object, ..., subset = TRUE)
## S3 method for class 'elo.running'
auc(object, running = TRUE, discard.skipped = FALSE, ..., subset = TRUE)
## S3 method for class 'elo.markovchain'
auc(object, ..., subset = TRUE)
## S3 method for class 'elo.winpct'
auc(object, ..., subset = TRUE)
## S3 method for class '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
pROC::auc
, elo.run
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.