Skip to content

ffsimulator 1.2.0

Compare
Choose a tag to compare
@tanho63 tanho63 released this 22 Dec 13:52
· 46 commits to main since this release
9076f5f

This release of ffsimulator adds an experimental wins added calculation with ff_wins_added(), some cleanups, and try-handling to examples because apparently donttest doesn't exist.

New features

  • ff_wins_added() runs the simulation as desired once, then calculates the net wins added for each player over a replacement level player.
  • ffs_add_replacement_level() adds replacement level players to every team that are essentially the lowest player at each position that is not currently rostered.
  • ff_simulate() and ff_simulate_week() gains a "return" parameter that controls elements to return - this provides more data so that wins_added can be calculated efficiently.

Fixes

  • verbose argument primarily refers to the package option now.
  • Fix bye week handling for summarising actual schedule weeks by using inner join.

Immensely grateful to everyone who shared and used ffsimulator this year, and especially to @JoeSydlowski for helping to build out the logic for wins added!