Description Usage Arguments Value Examples
Computes the slugging percentage (SLG), based on the weighted number of singles, doubles, triples, home runs, and at bats
1  | slg(b1, b2, b3, hr, ab)
 | 
b1 | 
 Number of singles  | 
b2 | 
 Number of doubles  | 
b3 | 
 Number of triples  | 
hr | 
 Number of home runs  | 
ab | 
 Number of at bats  | 
slg
1  | slg(100, 40, 3, 7, 350)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.