BsR: Calculates the base runs estimator

Description Usage Arguments Value Examples

View source: R/batting.R

Description

Takes the number of hits, bases on balls, home runs, total bases, and at bats to compute the base runs estimator, which is similar to runs created

Usage

1
BsR(h, bb, hr, tb, ab)

Arguments

h

Number of hits

bb

Number of bases on balls

hr

Number of home runs

tb

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

ab

Number of at bats

Value

BsR

Examples

1
BsR(135, 22, 12, 155, 330)

Example output

[1] 62.51189

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

Related to BsR in mlbstats...