powered by
Computes overall offensive contribution of a single player
ta(tb, hbp, bb, sb, ab, h, cs, gidp)
Number of total bases (one for 1B, two for 2B, three for 3B, and four for HR)
Number of hits by pitch
Number of bases on balls
Number of stolen bases
Number of at bats
Number of hits
Number of caught stealing
Number of grounded into double play
ta
# NOT RUN { ta(125, 11, 40, 10, 400, 105, 2, 6) # }
Run the code above in your browser using DataLab