Graph balls/called strikes for a certain game
1 2 | game_sz_graph(date, hometeam, dh = 1, count = "all", stand = "R','L",
throws = "R','L", save = FALSE, path = getwd())
|
date |
Date of game Format yyyy-mm-dd. |
hometeam |
The home team in the game. Can be nickname ("Padres"), full name ("San Diego Padres"), or abbreviation ("SD"). |
dh |
Doubleheader. 0 or 1 for first game, 2 for second game. Defaults to 1. |
count |
Ball-strike count. Defaults to all. Input x instead of a number to get all counts; e.g. "3-x" for all 3-ball counts |
stand |
Batter handedness. Defaults to both. |
throws |
Pitcher 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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.