powered by
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
BsR(h, bb, hr, tb, ab)
Number of hits
Number of bases on balls
Number of home runs
Number of total bases (one for 1B, two for 2B, three for 3B, and four for HR)
Number of at bats
BsR
# NOT RUN { BsR(135, 22, 12, 155, 330) # }
Run the code above in your browser using DataLab