Learn R Programming

bracketeer (version 0.1.1)

set_winner: Set match winner directly

Description

Record the winner of a match without specifying scores.

Usage

set_winner(bracket, match_id, winner)

# S3 method for bracket set_winner(bracket, match_id, winner)

# S3 method for group_stage_knockout set_winner(bracket, match_id, winner)

Value

Updated bracket object

Arguments

bracket

A bracket object

match_id

The ID of the match to update

winner

Name of the winning participant