View source: R/xg_simulate_match.R
xg_sim_match | R Documentation |
Simulate the number of goals scored given a vector of shot xG values for two teams
xg_sim_match(team_a_shots_xg, team_b_shots_xg)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.