game_sz_graph: Graph balls/called strikes for a certain game

Description Usage Arguments

Description

Graph balls/called strikes for a certain game

Usage

1
2
game_sz_graph(date, hometeam, dh = 1, count = "all", stand = "R','L",
  throws = "R','L", save = FALSE, path = getwd())

Arguments

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.


BillPetti/fgrapher documentation built on May 5, 2019, 3:46 p.m.