powered by
Takes number of at bats and divides by number of home runs
ab_hr(ab, hr)
Number of at bats
Number of home runs
ab_hr
# NOT RUN { ab_hr(400, 25) # }
Run the code above in your browser using DataLab