MLB2004 {fastR2} | R Documentation |
Major League Baseball 2004 team data
Description
Team batting statistics, runs allowed, and runs scored for the 2004 Major League Baseball season.
Format
A data frame with 30 observations on the following 20 variables.
- team
team city, a factor
- league
League, a factor with levels
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
- 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
Examples
data(MLB2004)
gf_point(W ~ Rdiff, data = MLB2004)
[Package fastR2 version 1.2.4 Index]