Learn R Programming

mlbstats (version 0.1.0)

fip: Calculates fielding independent pitching

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

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

Run this code
# NOT RUN {
fip(65, 50, 100, 175)
# }

Run the code above in your browser using DataLab