PITCHf/x data on nine-time All-Star Miguel Cabrera, who is thought to be one of the best pure hitters in baseball. Covers seasons 2009 through 2012.
A data frame with 6265 observations on the following 12 variables. Each observation is a pitch to Cabrera.
The year of play
Date of the game in which the pitch was thrown
Type of pitch thrown, as determined by a computer algorithm.
Current ball count
Current strike count
speed of pitch (in mph). (When crossing plate?)
x-coordinate of pitch (in feet, measured from center of plate)
vertical coordinate of pitch (in feet above plate)
Whether or not Cabrera swung at the ball. Factor with levels "no", "yes".
x-coordinate of landing point of ball (if it was hit). Relative to park.
y-coordinate of landing point of ball (if it was hit). Relative to park.
Outcome when ball was hit. Factor with levels E (error), H (hit), O (batter out).
Marchi and Albert: analyzing Baseball Data with R, CRC Press 2014. For more on the PITCHf/x system, see http://en.wikipedia.org/wiki/PITCHf/x.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.