Batting: Major League Batting 2000-2005

BattingR Documentation

Major League Batting 2000-2005

Description

Major League batting data for the seasons from 2000-2005.

Format

A data frame with 8062 observations on the following 22 variables.

player

unique identifier for each player

year

year

stint

for players who were traded mid-season, indicates which portion of the season the data cover

team

three-letter code for team

league

a factor with levels AA AL NL

G

games

AB

at bats

R

runs

H

hits

H2B

doubles

H3B

triples

HR

home runs

RBI

runs batted in

SB

stolen bases

CS

caught stealing

BB

bases on balls (walks)

SO

strike outs

IBB

intentional base on balls

HBP

hit by pitch

SH

a numeric vector

SF

sacrifice fly

GIDP

grounded into double play

Examples


data(Batting)
gf_histogram( ~ HR, data = Batting)


rpruim/fastR2 documentation built on Nov. 11, 2023, 7:32 a.m.