Learn R Programming

bracketeer (version 0.1.1)

new_swiss_bracket: Internal swiss bracket constructor

Description

Internal swiss bracket constructor

Usage

new_swiss_bracket(
  participants,
  rounds = NULL,
  seed = TRUE,
  allow_ties = TRUE,
  bye_points = 1,
  best_of = NULL,
  tiebreakers = NULL
)

Value

A swiss_bracket object.

Arguments

participants

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

rounds

Optional positive integer number of Swiss rounds.

seed

Seeding policy for initial ordering.

allow_ties

Whether drawn results are allowed.

bye_points

Points awarded for a bye.

best_of

Optional odd-integer series length specification.

tiebreakers

Optional ordered tiebreaker vector.