Rdocumentation
powered by
Learn R Programming
Sabermetrics (version 1.0)
rcTech: Runs Created (Technical)
Description
How many runs a hitter contributes to his team (technical version)
Usage
rcTech(H, BB, CS, HBP, GIDP, TB, IBB, SAC, SF, SB)
Arguments
H
Hits
BB
Unintentional walks
CS
Caught stealing
HBP
Hit by pitch
GIDP
Grounded into double play
TB
Total bases
IBB
Intentional walks
SAC
Sacrifice hits/bunts
SF
Sacrifice flies
SB
Stolen bases
Value
Returns (H+BB-CS+HBP-GIDP)*(TB + (0.26*(BB-IBB+HBP)) + (0.52*(SAC+SF+SB)))
References
http://en.wikipedia.org/wiki/Runs_created
See Also
Runs Created (Basic)
rcBasic
and Runs Created (with Stolen Bases)
rcBasicSB