Learn R Programming

mlbstats (version 0.1.0)

ra: Calculates run average

Description

Computes pitcher's run average based on number of runs allowed and innings pitched

Usage

ra(r, ip)

Arguments

r

Number of runs allowed

ip

Number of innings pitched

Value

ra

Examples

Run this code
# NOT RUN {
ra(75, 400)
# }

Run the code above in your browser using DataLab