Learn R Programming

mlbstats (version 0.1.0)

wra: Calculates win ratio

Description

Computes a team's win ratio, which is used in the so-called "Pythagorean expectation"

Usage

wra(rs, ra)

Arguments

rs

Number of runs scored

ra

Number of runs allowed

Value

wra

Examples

Run this code
# NOT RUN {
wra(400, 301)
# }

Run the code above in your browser using DataLab