sim.bracket.source: Simulate the full bracket starting with an empty bracket

Description Usage Arguments Value Author(s)

View source: R/sim.bracket.source.R

Description

Simulate the full bracket starting with an empty bracket

Usage

1
2
sim.bracket.source(prob.source, league, year, num.reps, outcome, round,
  teams.remaining, untangling.indices)

Arguments

prob.source

source from which to use round probabilities for simulation — "pop": ESPN's population of picks, "Pom": Ken Pomeroy's predictions (kenpom.com), or "538": predictions form fivethirtyeight.com.

league

which league: "men" (default) or "women", for prob.source.

year

year of tournament, used for prob.source.

num.reps

number of simulations to perform

outcome

passed in from sim.bracket()

round

passed in from sim.bracket()

teams.remaining

passed in from sim.bracket()

untangling.indices

passed in from sim.bracket()

Value

a 63-by-num.reps matrix storing the simulation outcome, each column encoding the outcome for a single simulation in the following order: seeds 1 through 32 after round 1, seeds 1 through 16 after round 2, seeds 1 through 8 after round 3, seeds 1 through 4 after round 4, seeds 1 and 2 after round 5, and finally seed 1 after round 6 (the champion)

Author(s)

sspowers


mRchmadness documentation built on May 30, 2017, 6:49 a.m.