Description Usage Arguments Examples
Graph pitcher release points
1 2 | release_graph(pitcher, startdate = "2016-01-01", enddate = "2016-12-31",
pitchtypes = "all", stand = "R','L", save = FALSE, path = getwd())
|
pitcher |
Pitcher name or FanGraphs playerid. |
startdate |
Start date. Defaults to beginning of 2016. Format yyyy-mm-dd. |
enddate |
End date. Defaults to end of 2016. Format yyyy-mm-dd. |
pitchtypes |
Defaults to all. To include multiple pitch types, create an array: c("Four-seam fastball","Changeup","Breaking ball") |
stand |
Batter handedness. Defaults to both. |
save |
Whether to save the graph. Defaults to FALSE. |
path |
Where to save the graph. Defaults to the current working directory. |
1 | ## Not run: release_graph()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.