Learn R Programming

Sabermetrics (version 2.0)

xfipminus: xFIP-

Description

xFIP- is a park-adjusted version of xFIP

Usage

xfipminus(xFIP, ParkFactor, LeaguexFIP)

Arguments

xFIP
Player xFIP
ParkFactor
Park Factor
LeaguexFIP
League Average xFIP

Value

Returns a value equal to (xFIP+(xFIP-(xFIP*(ParkFactor/100))))/(LeaguexFIP)*100

Details

League Average is set to 100 each season. Each point below or above 100 is one percentage point better or worse than league average.

References

http://www.fangraphs.com/library/pitching/era-fip-xfip/ http://www.fangraphs.com/guts.aspx?type=pf&teamid=0&season=2014

See Also

xfip,fipminus,eraminus

Examples

Run this code
## The function is currently defined as
function (xFIP, ParkFactor, LeaguexFIP) 
{
    xfipminus <- (xFIP + (xFIP - (xFIP * (ParkFactor/100))))/(LeaguexFIP) * 
        100
    return(xfipminus)
  }

Run the code above in your browser using DataLab