powered by
Computes pitcher's ability to prevent hits, based on h, bfp, bb, hbp, sf, sh, and ci (catcher's interference)
baa(h, bfp, bb, hbp, sh, sf, ci)
Number of hits allowed
Number of batters facing pitcher
Number of bases on balls
Number of hit batters
Number of sacrifice hits
Number of sacrifice flies
Number of catcher's interference
baa
# NOT RUN { baa(105, 250, 50, 15, 10, 5, 1) # }
Run the code above in your browser using DataLab