era {mlbstats} | R Documentation |
Computes a pitcher's earned run average (compare with "erc" which is the component earned run average, "aera" which is a pitcher's adjusted earned run average, or "dice" which is the defense-independent component earned run average)
era(er, ip)
er |
Number of runs that did not occur as a result of errors or passed balls |
ip |
Number of innings pitched |
era
era(150, 400)