| baseball {Rgbp} | R Documentation |
Baseball Data
Description
Batting averages of 18 major league players through their first 45 official at bats of the 1970 season. These batting averages were published weekly in the New York Times, and by April 26, 1970.
Usage
data(baseball)
Format
A data set of 18 players with 12 covariates:
FirstNameeach player's first name
LastNameeach player's last name
At.Batsnumber of times batted
Hitseach player's number of hits among 45 at bats
BattingAveragebatting averages among 45 at bats
RemainingAt.Batsnumber of times batted after 45 at bats until the end of season
RemainingAveragebatting averages after 45 at bats until the end of season
SeasonAt.Batsnumber of times batted over the whole season
SeasonHitseach player's number of hits over the whole season
SeasonAveragebatting averages over the whole season
League1 if a player is in the National league
Positioneach player's position
Source
Efron, B. and Morris, C. (1975). Data Analysis Using Stein's Estimator and its Generalizations. Journal of the American Statistical Association. 70. 311-319.
Examples
data(baseball)