Usage
score.bracket(bracket.empty, bracket.picks, bracket.outcome,
bonus.round = c(1, 2, 4, 8, 16, 32), bonus.seed = rep(0, 16),
bonus.combine = c("add", "multiply"))Arguments
bracket.empty
a length-64 character vector giving the field of 64
teams in the tournament, in order of initial overall seeding
bracket.picks
an length-63 character vector encoding the picks
(this is the bracket to be evaluated)
bracket.outcome
a 63-row matrix encoding the outcome of multiple
simulations of the tournament. bracket.picks will be scored against each
outcome
bonus.round
a length-6 vector giving the number of points awarded in
your pool's scoring rules for correct picks in each round (default is
2^round)
bonus.seed
a length-16 vector giving the bonus awarded for correctly
picking winner based on winner's seed (default is zero)
bonus.combine
how to combine the round bonus with the seed bonus to
get the number of points awarded for each correct pick: "add" (default) or
multiply