release_graph: Graph pitcher release points

Description Usage Arguments Examples

Description

Graph pitcher release points

Usage

1
2
release_graph(pitcher, startdate = "2016-01-01", enddate = "2016-12-31",
  pitchtypes = "all", stand = "R','L", save = FALSE, path = getwd())

Arguments

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.

Examples

1
## Not run: release_graph()

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