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.
Version: | 1.8.2 |
Depends: | R (≥ 2.15.1), ggplot2 (≥ 0.9.3) |
Imports: | XML2R (≥ 0.0.6), plyr, MASS, hexbin, mgcv |
Suggests: | DBI, dplyr, RSQLite (≥ 1.0.0), parallel, knitr, animation, shiny, testthat, ggsubplot, rgl |
Published: | 2015-12-09 |
Author: | Carson Sievert |
Maintainer: | Carson Sievert <cpsievert1 at gmail.com> |
BugReports: | http://github.com/cpsievert/pitchRx/issues |
License: | MIT + file LICENSE |
URL: | http://cpsievert.github.com/pitchRx |
NeedsCompilation: | no |
Citation: | pitchRx citation info |
Materials: | NEWS |
CRAN checks: | pitchRx results |
Reference manual: | pitchRx.pdf |
Package source: | pitchRx_1.8.2.tar.gz |
Windows binaries: | r-devel: pitchRx_1.8.2.zip, r-release: pitchRx_1.8.2.zip, r-oldrel: pitchRx_1.8.2.zip |
macOS binaries: | r-release: pitchRx_1.8.2.tgz, r-oldrel: pitchRx_1.8.2.tgz |
Old sources: | pitchRx archive |
Please use the canonical form https://CRAN.R-project.org/package=pitchRx to link to this page.