pitchRx (1.8.2)

0 users

Tools for Harnessing 'MLBAM' 'Gameday' Data and Visualizing 'pitchfx'.


With 'pitchRx', one can easily obtain Major League Baseball Advanced Media's 'Gameday' data (as well as store it in a remote database). The 'Gameday' website hosts a wealth of data in XML format, but perhaps most interesting is 'pitchfx'. Among other things, 'pitchfx' data can be used to recreate a baseball's flight path from a pitcher's hand to home plate. With pitchRx, one can easily create animations and interactive 3D 'scatterplots' of the baseball's flight path. 'pitchfx' data is also commonly used to generate a static plot of baseball locations at the moment they cross home plate. These plots, sometimes called strike-zone plots, can also refer to a plot of event probabilities over the same region. 'pitchRx' provides an easy and robust way to generate strike-zone plots using the 'ggplot2' package.

Maintainer: Carson Sievert
Author(s): Carson Sievert <cpsievert1@gmail.com>

License: MIT + file LICENSE

Uses: ggplot2, hexbin, MASS, mgcv, plyr, XML2R, DBI, RSQLite, rgl, animation, testthat, knitr, ggsubplot, shiny, dplyr
Reverse suggests: mlbgameday

Released about 4 years ago.

17 previous versions



  (0 votes)


  (0 votes)

Log in to vote.


No one has written a review of pitchRx yet. Want to be the first? Write one now.

Related packages:(20 best matches, based on common tags.)

Search for pitchRx on google, google scholar, r-help, r-devel.

Visit pitchRx on R Graphical Manual.