Calculates entire history of ELO ratings for distance races.
1 2 3 | calc_elo_dst(races, current_rating, K = c(Interval = 32, Mass = 25, Pursuit =
25, Handicap = 20, `Pursuit Break` = 25), P = 1.25, provisional_n = 6L,
season_shrink = 2/3, default_rating = 1300)
|
races |
list of data.frames with results, in chronological order |
current_rating |
data.frame with pre-initialized starting rating |
K |
List of K factors for each race type |
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.