Baseball Hitter's Data
Data are for 322 Major Leaque Baseball regular and substitute hitters in 1986.
baseball
A data frame with 322 observations on the following 22 variables.
The hitter/player's name
Player's league (American/National) at the beginning of 1987
Player's team at the beginning of 1987
Player's position in 1986: 1B=First base, 2B=Second base, 3B=Third base, C=Catcher, OF=Outfild, DH=Designated hitter, SS=Short stop, UT=Utility
Number of times at bat in 1986
Number of hits in 1986
Number of home runs in 1986
Number of runs in 1986
Runs batted in during 1986
Number of walks in 1986
Number of years in the major leagues
Number of times at bat in his career
Number of hits in career
Number of home runs in career
Number of runs in career
Number of Runs Batted In in career
Number of walks in career
Number of putouts in 1986
Number of assists in 1986
Number of errors in 1986
Annual salary (in thousands) on opening day 1987
Log of salary
The levels of the player's positions have been collapsed to fewer levels for a simpler analysis. See the original data for the full list of positions.
The salary data were taken from Sports Illustrated, April 20, 1987. The salary of any player not included in that article is listed as an NA. The 1986 and career statistics were taken from The 1987 Baseball Encyclopedia Update published by Collier Books, Macmillan Publishing Company, New York.
The data was originally published for the 1988 ASA Statistical Graphics and Computing Data Exposition: http://lib.stat.cmu.edu/data-expo/1988.html.
The version of the data used to create this data was found at http://euclid.psych.yorku.ca/ftp/sas/sssg/data/baseball.sas
Michael Friendly (2002). Corrgrams: Exploratory Displays for Correlation Matrices, The American Statistician, Vol 56.
vars2 <- c("Assists","Atbat","Errors","Hits","Homer","logSal", "Putouts","RBI","Runs","Walks","Years") corrgram(baseball[,vars2], lower.panel=panel.shade, upper.panel=panel.pie)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.