Returns projected tempo, points per possesssion, total points scored, and win percentage for any team schedyle at any location back to the 2014-15 season using Barttorvik's formulas and data.
Arguments
- team
Team to predict with.
- year
Year to run prediction on.
- date
Date of game and must be a consecutive string in YYYYMMDD format (defaults to current day).
- include_postseason
A boolean representing whether conference tournament and other postseason games should be included in the simulation (defaults to FALSE).
Examples
try(cbd_torvik_season_prediction('Duke', 2023, '20230101'))
#> We notice that this is your first time logging into `cbbdata`.
#> This process will require restarting your R session.
#> Do you want to continue [Y/N]
#>
#> Invalid username or password!
#> Error in cbbdata::cbd_login() : object 'resp' not found