lineup_graph: Graph projected wRC+ for lineups in a game

Description Usage Arguments Examples

Description

Graph projected wRC+ for lineups in a game

Usage

1
2
lineup_graph(year, month, day, hometeam, awayteam, dh = 1, title = NA,
  save = FALSE, path = getwd())

Arguments

year

The year of the game.

month

The month of the game.

day

The day of the game.

hometeam

Name or abbrevation for the home team.

awayteam

Name or abbrevation for the away team

dh

Doubleheader. Defaults to 1. 1 means either no doubleheader or the first game of a doubleheader; 2 means the second game.

title

Title to place on the graph. Defaults to automatic titling.

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: lineup_graph(2016, 04, 07, 12, 11, dh = 1, save = FALSE, path = getwd(), title = "")

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