getIterativeTable: Get Iterative Predictions

View source: R/dc_iterative.R

getIterativeTableR Documentation

Get Iterative Predictions

Description

Get predictions of all games on a date. Return win/loss and total xG from the Dixon-Coles iterative model

Usage

getIterativeTable(
  date,
  schedule = HockeyModel::schedule,
  scores = HockeyModel::scores,
  rankings = HockeyModel::iterativeRankings,
  params = HockeyModel::iterativeParameters
)

Arguments

date

Game date to get results for

schedule

The HockeyModel::schedule object

scores

The HockeyModel::scores object

rankings

The HockeyModel::iterativeRankings object

params

The HockeyModel:::iterativeParameters object

Value

a data.frame with colums for GameID, Home & Away Teams, Home & Away win percentage, and TotalxG predicted


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