ops: On-Base Plus Slugging

Description Usage Arguments Value Author(s) References See Also Examples

Description

A metric that protrays a hitter's ability to get on base and to hit for power.

Usage

1

Arguments

slg

Slugging Percentage

obp

On-Base Percentage

Value

Returns a numerical value equal to (OBP)+(SLG)

Author(s)

Peter Xenopoulos

References

http://www.fangraphs.com/library/offense/ops/ https://en.wikipedia.org/wiki/On-base_plus_slugging

See Also

opsplus, obp

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Let's calculate Mike Trout's OPS for the 2014 season
## He had an OBP = .377 and a SLG = .561
## We should get .938 as our output
ops(.561,.377)

## The function is currently defined as
function (slg, obp) 
{
    ops <- slg + obp
    return(ops)
  }

Sabermetrics documentation built on Jan. 15, 2017, 7:34 p.m.