Calculates entire history of ELO ratings for sprint races.
1 2 | calc_elo_spr(races, current_rating, K = 32, P = 1.25, provisional_n = 6L,
season_shrink = 2/3, default_rating = 1300)
|
races |
list of data.frame's with race results, in chronological order |
current_rating |
data.frame with pre-initialized starting rating |
K |
K factor |
P |
inflation factor for provisional ratings |
provisional_n |
number of races a skier is considered provisional |
season_shrink |
amount to shrink ratings between seasons |
default_rating |
default rating |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.