Description Usage Arguments Value Author(s) Examples
Creates a shot chart for a player on a given season creating a point for each taken shot separating by colors mades and misses, also as you can add a kernel of the frequency of usage of areas
1 | PointShotSeasonGraphPlayer(Seasondata, player, Type = "Both", kernel = TRUE)
|
Seasondata |
a data frame with the details of the season |
player |
the name of the player that you want to make a graph of |
Type |
either "Both" (default), for plotting every point, "Made" to plot only the made shots or "Missed" to plot only the missed shots. |
kernel |
Logical, weather to plot or not the kernel of shots |
a shot chart graph
Derek Corcoran <derek.corcoran.barrios@gmail.com>
1 2 3 4 5 6 | data("season2017")
#Examples with several players
PointShotSeasonGraphPlayer(season2017, player = "James Harden")
PointShotSeasonGraphPlayer(season2017, player = "DeMar DeRozan")
PointShotSeasonGraphPlayer(season2017, player = "Stephen Curry", kernel = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.