hall.fame: Data frame containing baseball statistics including Hall of...

hall.fameR Documentation

Data frame containing baseball statistics including Hall of Fame membership

Description

A data frame containing baseball statistics for several players.

Usage

data(hall.fame)

Format

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

Details

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.

Source

This data set was submitted to the Journal of Statistical Education, https://www.amstat.org/publications/jse/secure/v8n2/datasets.cochran.new.cfm (now off-line), by James J. Cochran.

Examples

data(hall.fame)
hist(hall.fame$OBP)
with(hall.fame,last[Hall.Fame.Membership != "not a member"])

UsingR documentation built on March 18, 2022, 7:32 p.m.