Description Usage Arguments Value
wrapper function that downloads multiple seasons for multiple league from one of the source websites
1 | AN_EloCalc_season(data.m, k = 35, a = 1/1400, factors = c(0.05, -0.6))
|
data.m |
matrix (!) that should have columns "Res","RowPrev","Q0","Q1", "HWpct", "Dpct", "AWpct" "RowPrev" should be equal to row_number() if it is the first occurrence "Q0" should be filled for the first occurrence per team "Q1" should be equal to Q0 nrow(data.m) should be even, odd rows for home teams, even rows for away teams |
k |
k-factor |
a |
division factor |
startingQs |
tibble with columns "Team" and "Q0" |
b1 |
home team correction factor |
b2 |
away team correction factor |
tibble with columns "Div","Season","Date","HomeTeam","AwayTeam","Res","HWpct","Dpct","AWpct","QH0","QH1","QA0","QA1"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.