Major League Baseball (MLB) standings and team statistics for the 2016 season
A data frame with 30 observations on the following 22 variables.
Team name
AL=American or NL=National
Number of wins for the season (out of 162 games)
Number of losses for the season
Proportion of games won
Team batting average
Number of runs scored
Number of hits
Number of home runs hit
Number of doubles hit
Number of triples hit
Number of runs batted in
Number of stolen bases
On base percentage
Slugging percentage
Earned run average (earned runs allowed per 9 innings)
Number of hits against the team
Number of walks allowed
Number of strikeouts (by the team's pitchers)
Number of games saved (by the team's pitchers)
Number of walks and hits per inning pitched
Source
Data downloaded from baseball-reference.com: http://www.baseball-reference.com/leagues/MLB/2016-standings.shtml http://www.baseball-reference.com/leagues/MLB/2016.shtml
Use the following R code to directly access this dataset in R.