| x_game_cumulative_expected_goals | R Documentation |
x_game_cumulative_expected_goals() saves an X share-able cumulative xG
time-series plot for a given game as a PNG.
x_game_cumulative_expected_goals(game = 2023030417, model = 1, save = TRUE)
x_game_cum_xG(game = 2023030417, model = 1)
game |
integer ID (e.g., 2025020275); see |
model |
integer in 1:3 indicating which expected goals model to use
(e.g., 1); see |
save |
logical only FALSE for tests |
NULL
# May take >5s, so skip.
x_game_cumulative_expected_goals(
game = 2023030417,
model = 1,
save = FALSE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.