powered by
Team batting statistics, runs allowed, and runs scored for the 2004 Major League Baseball season.
A data frame with 30 observations on the following 20 variables.
Team team city, a factor
League League, a factor with levels AL NL
AL
NL
W number of wins
L number of losses
G number of games
R number of runs scored
OR oppnents' runs -- number of runs allowed
Rdiff run difference -- R - OR
R - OR
AB number of at bats
H number of hits
DBL number of doubles
TPL number of triples
HR number of home runs
BB number of walks (bases on balls)
SO number of strike outs
SB number of stolen bases
CS number of times caught stealing
BA batting average
SLG slugging percentage
OBA on base average
# NOT RUN { data(mlb2004) xyplot(W ~ Rdiff, data=mlb2004) # }
Run the code above in your browser using DataLab