Description Usage Arguments Value Author(s) References Examples
calculate/update Elo ratings for a single dyadic interaction
1 |
ELO1old, ELO2old |
numeric, Elo rating of the first and second individual |
outcome |
|
k |
numeric, k factor, by default |
normprob |
logical (by default |
integer vector of length 2 with updated ratings of first and second individual after the interaction
Christof Neumann
elo1978EloRating
\insertRefalbers2001EloRating
1 2 3 4 5 6 7 8 9 10 11 | e.single(ELO1old = 1200, ELO2old = 1000, outcome = 1, k = 100)
# same as before
e.single(ELO1old = 1000, ELO2old = 1200, outcome = 2, k = 100)
# an undecided interaction
e.single(ELO1old = 1200, ELO2old = 1000, outcome = 0, k = 100)
# if rating differences are too big, no change occurs
# if higher-rated individual wins
e.single(ELO1old = 2000, ELO2old = 1000, outcome = 1, k = 100)
# same as before but lower-rated individual wins and
# therefore wins maximum number of points possible (i.e. k)
e.single(ELO1old = 2000, ELO2old = 1000, outcome = 2, k = 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.