AN_Elo_season: AN_Elo_season

Description Usage Arguments Value

Description

calculates all Elo ratings and home, draw and away percentages per match

Usage

1
2
AN_Elo_season(data, startingQs = NA, a = 1/1400, b1 = 0.05, b2 = -0.6,
  k = 35)

Arguments

data

match data tibble that should contain one season for one league with columns "Div","Season","Date","HomeTeam","AwayTeam" and "Res"

startingQs

tibble with columns "Team" and "Q0"

a

division factor

b1

home team correction factor

b2

away team correction factor

k

k-factor

Value

tibble with columns "Div","Season","Date","HomeTeam","AwayTeam","Res","HWpct","Dpct","AWpct","QH0","QH1","QA0","QA1"


tristanbains/rFootballAnalysis documentation built on May 8, 2019, 9:47 a.m.