An implementation of Elo ratings for general use in 'R'.

## Functions

Listed below are the most useful functions available in elo:

elo.prob: Calculate the probability that team A beats team B.

elo.update: Calculate the update value for a given Elo matchup.

elo.calc: Calculate post-update Elo values.

elo.run: Calculate Elos for a series of matches.

score: Create a 1/0/0.5 win "indicator" based on two teams' scores.

## Data

tournament: Mock data for examples.

## References

Elo, A. E. 1978. The Rating of Chess Players, Past and Present. New York: Arco.

## Examples

library(elo)