xg_sim_match: Simulate the number of goals scored given a vector of shot xG...

View source: R/xg_simulate_match.R

xg_sim_matchR Documentation

Simulate the number of goals scored given a vector of shot xG values for two teams

Description

Simulate the number of goals scored given a vector of shot xG values for two teams

Usage

xg_sim_match(team_a_shots_xg, team_b_shots_xg)

Arguments

team_a_shots_xg

A list containing the xG values for each shot taken by team A

team_b_shots_xg

A list containing the xG values for each shot taken by team B


stxlen/soccr documentation built on Feb. 17, 2025, 1:23 a.m.