round_robin: Build a round-robin tournament

Description Usage Arguments Value

Description

Build a round-robin tournament

Usage

1
round_robin(teams = NULL, n = length(teams), home_away = FALSE)

Arguments

teams

a list of teams, from best to worst (character/vector)

n

number of teams (numeric/scalar)

home_away

should each team play twice? (1 home, 1 away) (logical/scalar)

Value

a tibble with tournament schedule: game, away, home


anthonypileggi/tournamentbuildr documentation built on May 6, 2019, 1:35 a.m.