Learn R Programming

bracketeer (version 0.1.1)

spec: Create a bracketeer tournament specification

Description

Create a bracketeer tournament specification

Usage

spec()

Arguments

Value

A bracketeer_spec object.

Examples

Run this code
# Create a reusable tournament blueprint
my_spec <- spec() |>
  round_robin("groups") |>
  single_elim("finals", take = top_n(2))

# Build with different participant lists
trn1 <- build(my_spec, c("A", "B", "C", "D"))
trn2 <- build(my_spec, c("W", "X", "Y", "Z"))

Run the code above in your browser using DataLab