Spatial Analysis of Basketball Shots in R
I am in the process of writing a series of articles on how to analyze basketball shots using R. An emphasis will be put on the study of the spatial aspect of the game using the sf package. You can find the code used for each chapter on GitHub. Below are the current chapters.
Book Outline
- 1 Overview
- 2 Exploring Basketball Shots Data
- 3 Modeling Basketball Shots
- 4 Classification of Basketball Shots
- 5 Building a Basketball Court in R
- 6 Dividing the Court into Zones
- 7 Basketball Shots as Spatial Objects
- 8 Point Pattern Analysis
- 9 Nearest Neighbour Analysis
- 10 Spatial Clustering
- 11 The Landscape of Modern Basketball
- 12 Spatial Interpolation with GAMs
- 13 Quantifying Shooting Ability
- 14 Acknowledgements
Potential New Chapters
- Generating Artificial Basketball Shots
- Creating Shot Charts
- Scatter plots
- Zone charts
- Heatmaps
- Hexagon charts
- Creating Interactive Shot Charts in R
- Studying the Ballistics of a Three-Point Shot