Usage
sim.bracket(bracket.empty, prob.matrix = NULL, prob.source = c("pop", "Pom",
"538"), league = c("men", "women"), year = 2017, num.reps = 1)Arguments
bracket.empty
a length-64 character vector giving the field of 64
teams in the tournament, in order of initial overall seeding
prob.matrix
a matrix of probabilities, with rows and columns
corresponding to teams, matching the output of bradley.terry().
If NULL, prob.source is used.
prob.source
source from which to use round probabilities for
simulation --- "pop": ESPN's population of picks (default),
"Pom": Ken Pomeroy's predictions (kenpom.com), or
"538": predictions form fivethirtyeight.com.
Ignored if prob.matrix is specified.
league
which league: "men" (default) or "women", for prob.source.
Ignored if prob.matrix is specified.
year
year of tournament, used for prob.source.
Ignored if prob.matrix is specified.
num.reps
number of simulations to perform (default is 1)