Create a "margin of victory" based on two teams' scores
mov(score.A, score.B = 0)
Numeric; the score of the first team. Alternatively, this can be a pre-computed margin of victory which will get compared to 0.
Numeric; the score of the second team; default is 0, in case score.A is already a margin of victory..
score.A
An object with class "elo.mov", denoting score.A = score.B.
"elo.mov"
score.B
score
# NOT RUN { mov(12, 10) mov(10, 10) mov(10, 12) # }
Run the code above in your browser using DataLab