Calculate rankings based on a match between two teams, the score, home advantage and whether or not the match took place in a World Cup.
1 2 3 4 5 6 | calculate_rank(
home_team = NULL,
away_team = NULL,
score = c(0, 0),
world_cup = FALSE
)
|
home_team |
Character vector of home team name. For a list of valid teams,
see |
away_team |
Character vector of away team name. |
score |
Two-element numeric vector of scores. |
world_cup |
Whether the match took place in the Rugby World Cup or not. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.