Learn R Programming

fastR (version 0.10.3)

pitching2005: Major League Baseball 2005 pitching

Description

Major League Baseball pitching statistics for the 2005 season.

Arguments

Format

A data frame with 653 observations on the following 27 variables.

  • playerID unique identifier for each player

  • yearID year

  • stint for players who played with multiple teams in the same season, stint is increased by one each time the player joins a new team

  • teamID three-letter identifier for team

  • lgID league team plays in, coded as AL or NL

  • W wins

  • L losses

  • G games played in

  • GS games started

  • CG complete games

  • SHO shut outs

  • SV saves recorded

  • IPouts outs recorded (innings pitched, measured in outs rather than innings)

  • H hits allowed

  • ER earned runs allowed

  • HR home runs allowed

  • BB walks (bases on balls) allowed

  • SO strike outs

  • BAOpp opposing hitters' batting average

  • ERA earned run average

  • IBB intentional walks

  • WP wild pitches

  • HBP number of batters hit by pitch

  • BK balks

  • BFP batters faced pitching

  • GF ratio of ground balls to fly balls

  • R runs allowed

Examples

Run this code
# NOT RUN {
data(pitching2005)
xyplot(IPouts/3 ~ W, data=pitching2005, ylab="innings pitched", xlab="wins")

# }

Run the code above in your browser using DataLab