shots2hexbins | R Documentation |
Get the Hexbins stats from shots and league_averages objects of a NBA shotchart API
shots2hexbins( shots, league_averages, binwidths = c(1.5, 1.5), min_radius_factor = 0.25, fg_diff_limits = c(-0.15, 0.15), fg_pct_limits = c(0.2, 0.7), pps_limits = c(0.5, 1.5) )
a data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.