Plot shots xG from a football match
Usage
xg_map(match_id, title = "")
Arguments
- match_id
Desired match ID from understat.com
- title
Plot title; empty by default
Value
Interactive ggiraph plot displaying both teams shots side by side printed to the Viewer.
Examples
xg_map(26631, title = "xG Map")