Batting: Calculate extra base per hit
Find the average extra bases per hit for batters with more than zero hits. Required fields from the batting table are "H", "X2B", "X3B", "HR"."
XBperH(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$XBperH <- XBperH(Batting2016)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.