league_simulation {fflr} | R Documentation |
League standing simulation
Description
The ESPN algorithm simulates the entire season according to the projection and matchup schedule to calculate the probability of a team winning their division and making the playoffs.
Usage
league_simulation(leagueId = ffl_id(), leagueHistory = FALSE, ...)
Arguments
leagueId |
Numeric league ID or ESPN fantasy page URL. Defaults to
|
leagueHistory |
logical; Should the |
... |
Additional queries passed to |
Value
A data frame of simulated team standings.
Examples
league_simulation(leagueId = "42654852")
[Package fflr version 2.3.0 Index]