| .xg_build_model_frame | R Documentation |
.xg_build_model_frame() is an internal helper for calculate_expected_goals().
.xg_build_model_frame(shots, play_by_play)
shots |
data.frame shot rows |
play_by_play |
data.frame play-by-play input |
Internal helper output.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.