Description Usage Arguments Value Author(s) References See Also Examples
This function helps find the League wSB
| 1 | 
| year | Season | 
| SB | League Stolen Bases | 
| CS | League Caught Stealing | 
| single | Singles | 
| bb | Walks | 
| hbp | Hit By Pitches | 
| ibb | Intentional Walks | 
Returns a value equal to (SB * runSB + CS * runCS) / (single + bb + hbp - ibb)
Peter Xenopoulos
http://www.fangraphs.com/library/offense/wsb/
wsb
| 1 2 3 4 5 6 7 8 9 | ## The function is currently defined as
function (year, SB, CS, single, bb, hbp, ibb) 
{
    runSB <- linearWeights$runSB[which(linearWeights$Season == 
        year)]
    runCS <- linearWeights$runCS[which(linearWeights$Season == 
        year)]
    lgwSB <- (SB * runSB + CS * runCS)/(single + bb + hbp - ibb)
  }
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.