Description Usage Arguments Value Examples
This functions creates a ggplot object with the outline of an NBA court for building custom shot charts.
1 | courtOutlinePlot(full = FALSE)
|
full, |
flag indicating whether to plot the full court as opposed to half court coordinates. FALSE by default. |
A ggplot object with the outline of an NBA court.
1 2 | courtOutlinePlot()
courtOutlinePlot(full = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.