powered by
Convenience wrapper around set_result() for tournament workflows.
set_result()
result(tournament, stage, match, score, overwrite = FALSE, auto_advance = NULL)
Updated tournament object.
tournament
A tournament object.
Stage identifier containing the match.
Match identifier inside stage.
stage
Numeric vector score payload. For a single match, pass c(score1, score2).
c(score1, score2)
Logical; forwards to set_result(..., overwrite = ...).
set_result(..., overwrite = ...)
Optional logical override. If NULL, defaults to the tournament's auto_advance setting when present.
NULL
auto_advance
teams <- c("A", "B", "C", "D") trn <- tournament(teams) |> round_robin("groups") # Enter a single result trn <- result(trn, "groups", match = 1, score = c(2, 1))
Run the code above in your browser using DataLab