RC2002 {baseballDBR}R Documentation

Batting: Calculate Runs Created using the updated 2002 formula.

Description

The "2002 Version" is an updated version of the "Technical Version" by Bill James. The 2002 RC uses the same counting stats as the Technical Version but applies weights to many of the raw stats. Required fields from the batting table are "AB", "H", "BB", "X2B", "X3B", "HR", "GIDP", "HBP", "SB", "CS", "SF" and "SH," "SO", and "IBB."

Usage

RC2002(dat = NULL)

Arguments

dat

A data frame you would wish to calculate. The data frame must have the same column names found in The Lahman package or the Chadwick Bureau GitHub repository.

See Also

Other Batting functions: BABIP, BA, BBpct, CTpct, HRpct, ISO, Kpct, OBP, OPS, PA, RCbasic, RCtech, SLG, TBs, XBHpct, XBperH, wOBA, wRAA, wRC

Examples


data("Batting2016")
head(Batting2016)

Batting2016$RC2002 <- RC2002(Batting2016)


[Package baseballDBR version 0.1.2 Index]