Learn R Programming

mlbstats (version 0.1.0)

whip: Calculates walks plus hits per innings pitched (WHIP)

Description

Computes walks plus hits per innings pitched, which reflects the number of baserunners allowed by a pitcher over a given period

Usage

whip(bb, h, ip)

Arguments

bb

Number of bases on balls

h

Number of hits allowed

ip

Number of innings pitched

Value

whip

Examples

Run this code
# NOT RUN {
whip(50, 110, 425)
# }

Run the code above in your browser using DataLab