powered by
Computes pitching performance statistic similar to ERA, but based on factors within the pitcher's control (compare with "dice" which is the defense-independent component earned run average)
fip(hr, bb, k, ip)
Number of home runs
Number of bases on balls
Number of strikeouts
Number of innings pitched
fip
# NOT RUN { fip(65, 50, 100, 175) # }
Run the code above in your browser using DataLab