random_robin: Build a random-robin tournament

Description Usage Arguments Value

Description

Build a random-robin tournament

Usage

1
random_robin(teams = NULL, n = length(teams), n_games = choose(n, 2))

Arguments

teams

a list of unranked teams (character/vector)

n

number of teams (numeric/scalar)

n_games

how many total tournament games? (numeric/scalar)

Value

a tibble with tournament schedule: game, away, home


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