Batting: Calculate strikeout percentage
Find strikeout percentage for batters with more than zero at bats. Required fields from the Batting table are; "AB", "SO", "BB", "HBP", "SF", and "SH."
Kpct(dat = NULL)
dat |
A data frame you would wish to calculate. The data frame must have the same column names found in
The |
data("Batting2016") head(Batting2016) Batting2016$Kpct <- Kpct(Batting2016)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.