Learn R Programming

mlbstats (version 0.1.0)

vorp: Calculates value over replacement player (pitching)

Description

Computes a pitcher's marginal utility

Usage

vorp(ip, lr, lg, r)

Arguments

ip

Number of innings pitched

lr

Number of league runs

lg

Number of league games played

r

Number of runs

Value

vorp

Examples

Run this code
# NOT RUN {
vorp(400, 98, 20, 110)
# }

Run the code above in your browser using DataLab