todayOdds | R Documentation |
Determine today's games' odds (if today has games), or a specified date's odds
todayOdds(
params = NULL,
today = Sys.Date(),
schedule = HockeyModel::schedule,
expected_mean = NULL,
season_percent = NULL,
include_xG = FALSE
)
params |
The named list containing m, rho, beta, eta, and k. See updateDC for information on the params list |
today |
The date for which you want game odds |
schedule |
The schedule, default to internal schedule |
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 xG values in reported odds |
a data frame of HomeTeam, AwayTeam, HomeWin, AwayWin, Draw, or NULL if no games today
todayOdds(today = as.Date("2019-11-01"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.