rc2: Calculates runs created accounting for stolen bases

Description Usage Arguments Value Examples

View source: R/batting.R

Description

Computes the estimated runs a hitter creates or contributes, accounting for base stealing (see also "rc" for the basic iteration and "rc3" for the technical iteration of the rc statistic)

Usage

1
rc2(h, bb, tb, ab, cs, sb)

Arguments

h

Number of hits

bb

Number of bases on balls

tb

Number of total bases (one for 1B, two for 2B, three for 3B, and four for HR)

ab

Number of at bats

cs

Number of stolen bases caught

sb

Number of stolen bases

Value

rc2

Examples

1
rc2(150, 35, 165, 400, 7, 9)

mlbstats documentation built on May 2, 2019, 1:04 p.m.

Related to rc2 in mlbstats...