process_round: Simulate Round

Description Usage Arguments Value

View source: R/predictions.R

Description

Simulates the results of a round of matches for a league.

Usage

1
process_round(rnd, teams, schedule, weights)

Arguments

rnd

Round number to simulate

teams

List of all teams in the division

schedule

Full schedule for division. Data frame with headers round, home_team,away_team

weights

Relative weights for probabilities provided to the calc_game_probs function

Value

Returns the team list with all games for the round simulated


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