draw.bracket | R Documentation |
Plot bracket to device
draw.bracket(
bracket.empty,
bracket.filled = NULL,
league = c("men", "women"),
text.size = 0.5
)
bracket.empty |
a length-64 character vector giving the field of 64 teams in the tournament, in order of initial overall seeding |
bracket.filled |
an optional length-63 character vector encoding tournament results (matching output from simulate.bracket) |
league |
which league: "men" (default) or "women". Used for converting team IDs into team names |
text.size |
character expansion factor for teams written into bracket |
sspowers
prob.matrix = bradley.terry(games = games.men.2018)
outcome = sim.bracket(bracket.empty = bracket.men.2018,
prob.matrix = prob.matrix)
draw.bracket(bracket.empty = bracket.men.2018, bracket.filled = outcome)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.