View source: R/average_win_prob.R
average_win_prob | R Documentation |
Computes Time-Based Average Win Probability for the Home Team
average_win_prob(game_id, include_spread = T)
game_id |
ESPN game_id for which to compute average win probability |
include_spread |
Logical, whether to include pre-game spread in Win Probability calculations. Default = True. |
Average Win Probability
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.