ShotSeasonGraphPlayer: Generates a shot chart for a given player

Description Usage Arguments Value Author(s) Examples

Description

Creates a shot chart for a player on a given season

Usage

1
ShotSeasonGraphPlayer(Seasondata, player, quant = 0.4, type = "PPS")

Arguments

Seasondata

a data frame with the details of the season

player

the name of the player 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
7
data("season2017")
#Examples with several players
ShotSeasonGraphPlayer(season2017, player = "Stephen Curry")
ShotSeasonGraphPlayer(season2017, player = "DeMar DeRozan")

 #Examples with percentage instead of points per shot
ShotSeasonGraphPlayer(season2017, player = "Stephen Curry", type = "PCT")

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