
Find the number of innings a player has pitched for a season. Required fields from the Pitching table are; "IPouts."
IP(dat = NULL)
A data frame you would wish to calculate. The data frame must have the same column names found in
The Lahman
package or the Chadwick Bureau GitHub repository.
Other Pitching functions: BB_9
,
FIP
, HR_9
, H_9
,
K_9
, LOB_pct
,
WHIP
data("Pitching2016")
head(Pitching2016)
Pitching2016$IP <- IP(Pitching2016)
Run the code above in your browser using DataLab