ab_hr: Calculates at bats per home run

Description Usage Arguments Value Examples

View source: R/batting.R

Description

Takes number of at bats and divides by number of home runs

Usage

1
ab_hr(ab, hr)

Arguments

ab

Number of at bats

hr

Number of home runs

Value

ab_hr

Examples

1
ab_hr(400, 25)

Example output

[1] 16

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

Related to ab_hr in mlbstats...