R Dataset / Package Stat2Data / MLB2007Standings


On this R-data statistics page, you will find information about the MLB2007Standings data set which pertains to MLB2007Standings. The MLB2007Standings data set is found in the Stat2Data R package. You can load the MLB2007Standings data set in R by issuing the following command at the console data("MLB2007Standings"). This will load the data into a variable called MLB2007Standings. If R says the MLB2007Standings data set is not found, you can try installing the package by issuing this command install.packages("Stat2Data") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the MLB2007Standings R data set. The size of this file is about 3,420 bytes.



Data for Major League Baseball teams from the 2007 regular season


A dataset with 30 observations on the following 21 variables.

R project statistics dataset table
Team Name of the team
League League: AL or NL
Wins Number of wins for the season (out of 162 games)
Losses Number of losses for the season
WinPct Proportion of games won (Wins/162)
BattingAvg Team batting average
Runs Number of runs runs scored
Hits Number of hits
HR Number of home runs hit
Doubles Number of doubles hit
Triples Number of triple hit
RBI Number of runs batted in
SB Number of stoen bases
OBP On base percentage
SLG Slugging percentage
ERA Earned run average (earned runs allowed per 9 innings)
HitsAllowed Number of hits against the team
Walks Number of walks allowed
StrikeOuts Number of strikeouts (by the team's pitchers)
Saves Number of games saved (by the team's pitchers
WHIP Number of walks and hits per inning pitched


Data for all 30 Major League Baseball (MLB) teams for the 2007 regular season. This includes team batting statistics (BattingAvg through SLG) and team pitching statistics (ERA through WHIP)


Data downloaded from baseball-reference.com:


Dataset imported from https://www.r-project.org.

Title Authored on Content type
OpenIntro Statistics Dataset - dream August 9, 2020 - 12:25 PM Dataset
OpenIntro Statistics Dataset - winery_cars August 9, 2020 - 2:38 PM Dataset
R Dataset / Package HSAUR / toothpaste March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HSAUR / pottery March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HistData / Guerry March 9, 2018 - 1:06 PM Dataset
<iframe src="https://r-data.pmagunia.com/iframe/r-dataset-package-stat2data-mlb2007standings.html" frameBorder="0" width="100%" height="307px" />
Attachment Size
dataset-15204.csv 3.34 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0

This documentation is licensed under GPLv3 or later.