Learn R Programming

bracketeer (version 0.1.1)

top_n: Select top ranked participants from source standings

Description

Select top ranked participants from source standings

Usage

top_n(n)

Value

A bracketeer_selector object.

Arguments

n

Positive integer count.

Examples

Run this code
# Route top 4 to playoffs
trn <- tournament(paste("Team", LETTERS[1:8])) |>
  swiss("open", rounds = 3) |>
  single_elim("playoffs", take = top_n(4))

Run the code above in your browser using DataLab