fip: Calculates fielding independent pitching

Description Usage Arguments Value Examples

View source: R/pitching.R

Description

Computes pitching performance statistic similar to ERA, but based on factors within the pitcher's control (compare with "dice" which is the defense-independent component earned run average)

Usage

1
fip(hr, bb, k, ip)

Arguments

hr

Number of home runs

bb

Number of bases on balls

k

Number of strikeouts

ip

Number of innings pitched

Value

fip

Examples

1
fip(65, 50, 100, 175)

Example output

[1] 4.542857

mlbstats documentation built on May 2, 2019, 1:04 p.m.

Related to fip in mlbstats...