todayDC: DC Predictions Today

View source: R/dixon-coles.R

todayDCR Documentation

DC Predictions Today

Description

DC Predictions Today

Usage

todayDC(
  params = NULL,
  today = Sys.Date(),
  schedule = HockeyModel::schedule,
  expected_mean = NULL,
  season_percent = NULL,
  include_xG = FALSE,
  draws = TRUE
)

Arguments

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

Value

a data frame of HomeTeam, AwayTeam, HomeWin, AwayWin, Draw, GameID; or NULL if no games today


pbulsink/HockeyModel documentation built on Dec. 16, 2024, 8:03 a.m.