Learn R Programming

bracketeer (version 0.1.1)

standings: Inspect tournament standings

Description

Inspect tournament standings

Usage

standings(x, stage = NULL)

# S3 method for tournament standings(x, stage = NULL)

Value

Data frame of standings.

Arguments

x

A tournament object.

stage

Optional stage identifier.

Examples

Run this code
trn <- tournament(c("A", "B", "C", "D")) |>
  round_robin("groups")

# Enter some results
m <- matches(trn, "groups")
trn <- result(trn, "groups", m$match_id[1], score = c(2, 1))

# View current standings
standings(trn, "groups")

Run the code above in your browser using DataLab