process_game: Simulate game

Description Usage Arguments Value

View source: R/predictions.R

Description

Simulates game outcome between two teams and updates team's record and points tally.

Usage

1
process_game(team_list, weights)

Arguments

team_list

List of team objects with home team, then away team

weights

Vector of weights for probabilities. Length three, order is CCL (TV difference), Home team, Away team

Value

Return the team list with updated record and points tally.


nufflytics/nufflytics documentation built on Oct. 10, 2020, 5:27 p.m.