DefShotSeasonGraphTeam: Generates an defensive shot chart for a given team

Description Usage Arguments Value Author(s) Examples

Description

Creates a defensive Shot Chart for the desired team on a given season, that is a shot chart of the shots the team recieves during the year

Usage

1
DefShotSeasonGraphTeam(Seasondata, team, quant = 0.4, type = "PPS")

Arguments

Seasondata

a data frame with the details of the season

team

the name of the team that you want to make a graph of

quant

the quantile of shots to be graphed, defaults to 0.4

type

either "PPS" for points per shot or "PCT" for percentage

Value

a shot chart graph

Author(s)

Derek Corcoran <derek.corcoran.barrios@gmail.com>

Examples

1
2
3
4
5
6
data("season2017")
#Examples with several teams
DefShotSeasonGraphTeam(season2017, team = "Sas")
DefShotSeasonGraphTeam(season2017, team = "Cle")
#Examples with shooting percentage instead of Points per Shot
DefShotSeasonGraphTeam(season2017, team = "Cle", type = "PCT")

SpatialBall documentation built on May 2, 2019, 7:24 a.m.