summary: bbplot

Description Arguments Details Value Examples

Description

Visualize Balls in Play

Arguments

data

An MLBAM data set with fields "our.x" and "our.y"

Details

Plots the balls in play from GameDay data. This function will plot (x,y)-coordinates with a generic baseball field plotted in the background. Other lattice options can be passed to xyplot().

Value

an xyplot()

Examples

1
2
ds = getData()
bbplot(ds)

frogman141/openWAR documentation built on Dec. 20, 2021, 8:52 a.m.