Description Usage Arguments Value Examples
This function builds a shot chart from either the specified data frame or the specified parameters.
1 |
d, |
a data frame resulting from a call to getGenericData("shotchartdetail", ...) |
params, |
a list of parameters for a call to "shotchartdetail" (see getEndpointParams("shotchartdetail") for valid options). Not all need to be specified as defaults will be used for unspecified parameters. |
color, |
the attribute on which to color the data points in the shot chart passed as a character vector |
A list containing a ggplot object with the shot chart and a data frame containing the raw data from which the shot chart was built.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.