extractBracket: Extract a best bracket from a simulation result

Description Usage Arguments Details Value

Description

Given the results of simTourney, this function pulls out a single tournament result.

Usage

1
extractBracket(sim, restrict = TRUE)

Arguments

sim

The outcome of a simTourney run

restrict

Restrict the brakcet to realistic result: if a team wins a given game, they must also have won all prior games. Set to FALSE for impossible, but still very interesting brackets

Details

This function starts with the most likely winner, and then assumes they won all prior games. It then picks the most likely other team in the championship game, and assumes that team won all prior games. As such, it works backwards to determine a single result from a simulation.

Value

a data.table


zachmayer/kaggleNCAA documentation built on May 4, 2019, 9:03 p.m.