Description Usage Arguments Value Examples
Computes earned run average from hits and walks (compare with "era" which is the traditional formula for earned run average, "aera" which is a pitcher's adjusted earned run average, or "dice" which is the defense-independent component earned run average)
| 1 | erc(h, bb, hbp, hr, ibb, bfp, ip)
 | 
| h | Number of hits allowed | 
| bb | Number of bases on balls | 
| hbp | Number of hit batters | 
| hr | Number of home runs | 
| ibb | Number of intentional bases on balls | 
| bfp | Number of batters faced by pitcher | 
| ip | Number of innings pitched | 
erc
| 1 | erc(110, 45, 10, 70, 5, 400, 215)
 | 
[1] 4.99801
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.