Description Usage Arguments Details Value Examples
Visualize Balls in Play
1 2 3 |
data |
A GameDayPlays set with fields 'our.x' and 'our.y' |
batterName |
A character string containing the last name of a batter |
pitcherName |
A character string containing the last name of a pitcher |
pch |
A numeric |
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().
an xyplot()
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.