Description Arguments Details Value Examples
Visualize Balls in Play
data |
An MLBAM data set with fields "our.x" and "our.y" |
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 | ds = getData()
bbplot(ds)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.