| era {mlbstats} | R Documentation | 
Calculates earned run average
Description
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)
Usage
era(er, ip)
Arguments
| er | Number of runs that did not occur as a result of errors or passed balls | 
| ip | Number of innings pitched | 
Value
era
Examples
era(150, 400)
[Package mlbstats version 0.1.0 Index]