| ba {mlbstats} | R Documentation | 
Calculates batting average
Description
Takes number of hits and divides by at bats. 1.000 (read “one-thousand" is perfect)
Usage
ba(h, ab)
Arguments
| h | Number of hits | 
| ab | Number of at bats | 
Value
ba
Examples
ba(200, 525)
[Package mlbstats version 0.1.0 Index]