Record the score for a match. The winner is determined by the higher score.
set_result(
bracket,
match_id,
score1,
score2,
stage_id = NULL,
overwrite = FALSE,
auto_advance = FALSE
)# S3 method for bracket
set_result(
bracket,
match_id,
score1,
score2,
stage_id = NULL,
overwrite = FALSE,
auto_advance = FALSE
)
# S3 method for group_stage_knockout
set_result(
bracket,
match_id,
score1,
score2,
stage_id = NULL,
overwrite = FALSE,
auto_advance = FALSE
)
# S3 method for round_robin_bracket
set_result(
bracket,
match_id,
score1,
score2,
stage_id = NULL,
overwrite = FALSE,
auto_advance = FALSE
)
# S3 method for swiss_bracket
set_result(
bracket,
match_id,
score1,
score2,
stage_id = NULL,
overwrite = FALSE,
auto_advance = FALSE
)
# S3 method for tournament
set_result(
bracket,
match_id,
score1,
score2,
stage_id = NULL,
overwrite = FALSE,
auto_advance = TRUE
)
Updated bracket object
A bracket object
The ID of the match to update
Score for participant 1, or a numeric vector of game scores.
Score for participant 2, or a numeric vector of game scores.
Optional stage identifier used by multi-stage tournament runtimes.
Logical; when TRUE, requests explicit result overwrite
handling where supported.
Logical; when TRUE and supported by the bracket type,
automatically advances completed stages.