nfl_standings | R Documentation |
Compute NFL Standings
nfl_standings(
games,
...,
ranks = c("CONF", "DIV", "DRAFT", "NONE"),
tiebreaker_depth = c("SOS", "PRE-SOV", "POINTS", "RANDOM"),
playoff_seeds = NULL,
verbosity = c("MIN", "MAX", "NONE")
)
games |
A data frame containing real or simulated game scores. Outside of simulations, this is simply the output of nflreadr::load_schedules. The following variables are required as a minimum:
If tiebreakers beyond SOS are to be used, then the actual scores of the
home ( |
... |
currently not used |
ranks |
One of
|
tiebreaker_depth |
One of
|
playoff_seeds |
If |
verbosity |
One of
|
nflseedR does not support all levels of tie-breakers at the moment. The deepest tie-breaker currently is "best net points in all games". After that, the decision is made at random. However, the need for the last level ("best net touchdowns in all games") is extremely unlikely in practice. Deeper levels than strength of schedule have never actually been needed to resolve season-end standings since the NFL expanded to 32 teams.
A data.table of NFL standings including the ranks selected in the
argument ranks
For more information on the implemented tiebreakers, see https://nflseedr.com/articles/tiebreaker.html
try({#to avoid CRAN test problems
games <- nflreadr::load_schedules(2021:2022)
})
standings <- nflseedR::nfl_standings(games)
print(standings, digits = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.