rp {mlbstats}R Documentation

Calculates runs produced

Description

Computes the number of runs contributed by a hitter, based on runs, runs batted in, and home runs

Usage

rp(r, rbi, hr)

Arguments

r

Number of runs

rbi

Number of runs batted in

hr

Number of home runs

Value

rp

Examples

rp(70, 41, 22)

[Package mlbstats version 0.1.0 Index]