View source: R/bart_game_prediction.R
| bart_game_prediction | R Documentation |
Returns game predictions using Barttorvik's model
bart_game_prediction(team = NULL, opp = NULL, date = NULL, location = "N")
team |
Team for game |
opp |
Opponent for game |
date |
Date for game; YYYYMMDD format |
location |
Location for game ('N', 'H', or 'A') |
Function returns projected score, points per possession, tempo, and win percentage for a given match-up on a given day
Returns a tibble with eight columns:
teamcharacter.
datedate.
locationcharacter.
tempodouble.
pppdouble.
ptsdouble.
win_perdouble.
did_winlogical.
try(bart_game_prediction(team='Duke', opp='North Carolina', date='20220402'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.