Learn R Programming

bracketeer (version 0.1.1)

bracket: Create a tournament bracket

Description

Generic constructor for tournament brackets. Dispatches to specific tournament type constructors.

Usage

bracket(participants, type = "single_elim", ...)

Value

A bracket object

Arguments

participants

Character vector of participant names, or a data.frame with a 'name' column and optional 'seed' or 'rating' columns.

type

Tournament type: "single_elim", "double_elim", "round_robin", "swiss", "group_stage_knockout", or "two_leg_knockout"

...

Additional arguments passed to type-specific constructor