nflseedR_compute_results() correctly adjusts Elodifference for postseason games. (#54)nfl_standings() returnsexit valueconsistent withnfl_simulations() if argumentranks = "DRAFT". (#56)nfl_standings_prettify() showsexit (ifavailable). (#56)nfl_standings() now warns the user when thegames argument includes both"season" and"sim" to avoid confusion. (#58)This is a major release that introduces a new generation of highefficient standings and simulation code
nfl_standings() for high efficientstandings calculation. The functionscompute_division_ranks(),compute_conference_seeds(), andcompute_draft_order() will be deprecated in a futurerelease. (#45)nfl_simulations() for a new, highlyefficient approach to season simulations. This is a completely newdesign of the simulator, with the aim of achieving significantly fasterrun times and eliminating weaknesses in the old approach (insimulate_nfl()). The introduction of this function issupplemented by the two new utility functionsnflseedR_compute_results(), andsimulations_verify_fct(). These functions form the newstandard for computing results (if the user does not have their ownfunction for this) respectively allow verification of the functionalityof their own functions instead ofnflseedR_compute_results(). It is planned thatsimulate_nfl() will be deprecated in a future release sothat the dependencies of nflseedR can be significantly reduced.(#47)nfl_standings_prettify() computes agt::gt() table of the output created withnfl_standings(). (#49)nfl_standings() now supportstiebreaker_depth = "POINTS" which breaks ties usingcombined point ranks and point differentials. This means that alltiebreakers except net touchdowns are now implemented. (#47)nfl_standings() where the tie breakingprocedure didn’t restart correctly after some teams were eliminatedwhile some others remained tied. (#47)summary methodsummary.nflseedR_simulation() explicitly sets the columnswidth of the logo column because those columns are hidden in someunclear scenarios.summary methodsummary.nflseedR_simulation() now requires gt versionv0.9.0 or higher to avoid warnings about deprecated arguments.simulate_nfl() where it crashes becausethe “fake schedule” isn’t a tibble. (#43)load_sharpe_games has been deprecated. Itwas replaced a fairly long time ago bynflreadr::load_schedules(). (#47)|> operator. This follows theTidyverse Rversion support rules. (#48)simulate_nfl() gained the new argumentsim_include to allow more access to what is actually beingsimulated. This makes it possible skip playoff simulation or the(possibly heavy) computation of draft order. (#34)summary methodsummary.nflseedR_simulation() now hides columns where allvalues areNA. This is useful ifsimulate_nfl() skips the postseason or draft order. Themethod also re-formats the number of simulations in the subtitle,e.g. from “10000” to “10k” (this requires scales >= 1.2.0, but it isa good idea to update scales anyways). (#35)simulate_nfl() now uses data.table to combinesimulation rounds data. This is a significant performance improvement.The returned list"sim_params" now includes the packageversion of nflseedR (for debugging) and the current system time when thesimulation was finished. (#36)summary methodsummary.nflseedR_simulation() now usesfmt_pct_special() to format probability strings to avoidthe impression of overconfidence by rounding to integer percentages.(#37)game_summary to the output ofsimulate_nfl() which aggregates matchups across allsimulated seasons (#24)load_sharpe_games() (#24)simulate_nfl() is now of classnflseedR_simulation which allows the implementation of asummary() method that computes agt() table ofthe simulation summary data frame. (#26)compute_division_ranks() now outputs losses and ties aswell. (#27)load_sharpe_games() for CRAN testsAdded support for a fake schedule for simulating the upcomingseason before the NFL has released the official schedule.
updated the documentation of the functionload_sharpe_games() with the new columnsaway_qb_id,home_qb_id,away_qb_name andhome_qb_name.