Learn R Programming

elo (version 3.0.2)

auc.elo: Calculate AUC on an elo.run object

Description

Calculate AUC on an elo.run object

Usage

# 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)

Value

The AUC of the predicted Elo probabilities and the actual win results.

Arguments

object

An object of class elo.run.

...

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

References

Adapted from code here: https://stat.ethz.ch/pipermail/r-help/2005-September/079872.html

See Also

pROC::auc, elo.run.