getTeamRankings | R Documentation |
Gets a team's attack and defense ratings for iterative dixon-coles techniques. If a team hasn't been sampled before in this given rankings data set, attack and defense values of 0 are returned, and the team added to the rankings data frame. The rankings data frame is always returned as well, it's good tocapture that in case the team is new.
getTeamRankings(team, rankings)
team |
Team name |
rankings |
rankings data frame |
attack & defence ratings, plust the rankings data frame again (in case a team is added with attack & defense of 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.