powered by
This function puts the field mappings onto the graphics in specification with StatsBomb data.
ggplot(StatsBombData, aes(location.x, location.y)) + annotate_pitchSB()
A ggplot theme layer.
# NOT RUN { ggplot(StatsBombData, aes(location.x, location.y)) + annotate_pitchSB() # }
Run the code above in your browser using DataLab