todayDC | R Documentation |
DC Predictions Today
todayDC(
params = NULL,
today = Sys.Date(),
schedule = HockeyModel::schedule,
expected_mean = NULL,
season_percent = NULL,
include_xG = FALSE,
draws = TRUE
)
params |
The named list containing m, rho, beta, eta, and k. See updateDC for information on the params list |
today |
Generate predictions for this date. Defaults to today |
schedule |
schedule to use, if not the built-in |
expected_mean |
the mean lambda & mu, used only for regression |
season_percent |
the percent complete of the season, used for regression |
include_xG |
Whether to include team expected goals. default FALSE |
draws |
whether to report draws in odds (AwayWin/HomeWin/Draw) or not (AwayWin/HomeWin). Default True |
a data frame of HomeTeam, AwayTeam, HomeWin, AwayWin, Draw, GameID; or NULL if no games today
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.