Description Usage Arguments Value Examples
Computes the gross production average, which is 1.8 times on-base percentage (OBP) plus slugging percentage (SLG), divided by four
1 | gpa(h, bb, hbp, ab, sf, b1, b2, b3, hr)
|
h |
Number of hits |
bb |
Number of bases on balls |
hbp |
Number of hits by pitch |
ab |
Number of at bats |
sf |
Number of sacrifice flies |
b1 |
Number of singles |
b2 |
Number of doubles |
b3 |
Number of triples |
hr |
Number of home runs |
gpa
1 | gpa(150, 40, 2, 400, 5, 100, 40, 3, 7)
|
[1] 0.9087794
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.