| .share_cumulative_xg_series | R Documentation |
.share_cumulative_xg_series() converts shot-attempt rows into home and away
step-series vectors.
.share_cumulative_xg_series(shots, play_by_play)
shots |
data.frame of shot-attempt rows |
play_by_play |
full game play-by-play |
named list of cumulative xG series
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.