Skip to contents

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)
#> Warning: data set ‘MLB2004’ not found
gf_point(W ~ Rdiff, data = MLB2004)