powered by
Returns game predictions using Barttorvik's model
bart_game_prediction(team = NULL, opp = NULL, date = NULL, location = "N")
Returns a tibble with eight columns:
team
character.
date
date.
location
tempo
double.
ppp
pts
win_per
did_win
logical.
Team for game
Opponent for game
Date for game; YYYYMMDD format
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
try(bart_game_prediction(team='Duke', opp='North Carolina', date='20220402'))
Run the code above in your browser using DataLab