Description Usage Arguments Details Value Note Author(s) References See Also Examples
wRAA measure the number of offensive runs a player contributes compared to an average player.
1 |
woba |
Weighted On Base Percentage. See woba |
year |
Season |
PA |
Plate Appearances |
wRAA is league adjusted, meaning you can use it to compare players from different leagues and years.
Returns a value equal to ((wOBA - league wOBA) / wOBA scale) x PA
Usually, Ten wRAA is equivalent to +1 win.
Peter Xenopoulos
http://www.fangraphs.com/library/offense/wraa/
woba
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Let's calculate Mike Trout's 2014 wRAA
## He had a wOBA of .402 and 705 PA's
## We should return 49.74
wraa(.402,2014,705)
## The function is currently defined as
function (woba, year, PA)
{
wraa <- ((woba - linearWeights$wOBA[which(linearWeights$Season ==
year)])/weights$wOBAScale[which(linearWeights$Season ==
year)]) * PA
return(wraa)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.