fip {mlbstats} | R Documentation |
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)
hr |
Number of home runs |
bb |
Number of bases on balls |
k |
Number of strikeouts |
ip |
Number of innings pitched |
fip
fip(65, 50, 100, 175)