Usage
plot_nba_team_season_bokeh_shotchart(team = "Nets", year_roster = 2016,
year_data = 2015, plot_hex = T, author = "Alex Bresler",
use_shot_zone_side = T, season_type = "Regular Season",
positions = c("G", "F", "C"), shots_type = c("Dunk", "Layup", "Jump Shot",
"Fadeaway", "Bank", "Tip", "Hook"), shot_areas = c("Three Point", "Paint",
"Mid-Range"), vs_conference = NA, vs_division = NA,
quarter_range = 1:12, minute_range = 0:12, against_team = NA,
game_location = NA, game_month = NA, outcome = NA,
season_segment = NA, exclude_backcourt = T)
Arguments
team
can be = #c("76ers", "Bucks", "Bulls", "Cavaliers", "Celtics", "Clippers",
year_roster
- year of the roster
season_type
- Regular Season, Pre Season, Playoffs, All Star
shots_type
- ('Dunk', 'Layup', 'Jump Shot', "Fadeaway", "Bank", "Tip",'Hook')
shot_areas
- c('Three Point', "Paint", "Mid-Range")
vs_conference
- NA or East, West,
vs_division
- Atlantic, Central, Northwest, Pacific, Southeast, Southwest
against_team
- Same as team
game_location
- NA or Home, Road
season_segment
NA, Post All-Star, Pre All-Star