Description Usage Format Details Source Examples

A data frame containing baseball statistics for several players.

1 |

A data frame with 1340 observations on the following 28 variables.

- first
first name

- last
last name

- seasons
Seasons played

- games
Games played

- AB
Official At Bats

- runs
Runs scored

- hits
hits

- doubles
doubles

- triples
triples numeric vector

- HR
Home runs

- RBI
Runs batted in

- BB
Base on balls

- SO
Strike outs

- BA
Batting Average

- OBP
On Base percentage

- SP
Slugging Percentage

- AP
Adjusted productions

- BR
batting runs

- ABRuns
adjusted batting runs

- Runs.Created
Runs created

- SB
Stolen Bases

- CS
Caught stealing

- Stolen.Base.Runs
Runs scored by stealing

- Fielding.Average
Fielding average

- Fielding.Runs
Fielding runs

- Primary.Position.Played
C = Catcher, 1 = First Base, 2 = Second Base, 3 = Third Base, S = Shortstop, O = Outfield, and D = Designated hitter

- Total.Player.Rating
a numeric vector

- Hall.Fame.Membership
Not a member, Elected by the BBWAA, or Chosen by the Old Timers Committee or Veterans Committee

The sport of baseball lends itself to the collection of data. This data set contains many variables used to assess a players career. The Hall of Fame is reserved for outstanding players as judged initially by the Baseball Writers Association and subsequently by the Veterans Committee.

This data set was submitted to the *Journal of Statistical
Education*,
http://www.amstat.org/publications/jse/secure/v8n2/datasets.cochran.new.cfm,
by James J. Cochran.

1 2 3 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.