Skip to content

nflseedR 1.2.0

Latest
Compare
Choose a tag to compare
@mrcaseb mrcaseb released this 19 Feb 13:07
  • simulate_nfl() gained the new argument sim_include to allow more access to what is actually being simulated. This makes it possible skip playoff simulation or the (possibly heavy) computation of draft order. (#34)
  • The summary method summary.nflseedR_simulation() now hides columns where all values are NA. This is useful if simulate_nfl() skips the postseason or draft order. The method also re-formats the number of simulations in the subtitle, e.g. from "10000" to "10k" (this requires scales >= 1.2.0, but it is a good idea to update scales anyways). (#35)
  • simulate_nfl() now uses data.table to combine simulation rounds data. This is a significant performance improvement. The returned list "sim_params" now includes the package version of nflseedR (for debugging) and the current system time when the simulation was finished. (#36)
  • Lots of internal improvements to reduce package dependencies and messaging. (#36)
  • The summary method summary.nflseedR_simulation() now uses fmt_pct_special() to format probability strings to avoid the impression of overconfidence by rounding to integer percentages. (#37)