View source: R/bart_game_factors.R
bart_game_factors | R Documentation |
Returns game-by-game four factor statistics.
bart_game_factors( year = current_season(), team = NULL, conf = NULL, opp_conf = NULL, type = NULL, location = NULL, result = NULL )
year |
Defaults to current season (YYYY). |
team |
Filters to team. |
conf |
Filters to conference. |
opp_conf |
Filters to opponent's conference. |
type |
Filters for game type ('nc', 'conf', 'conf_t', 'post') |
location |
Filters for game location ('H', 'A', 'N') |
result |
Filters for game result. |
For a brief explanation of each factor and its computation, please visit KenPom's blog. 'avg_marg' and 'opp_avg_marg' is the the average lead or deficit during a game.
Returns a tibble of four factor statistics
try(bart_game_factors(year=2022))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.