wra {mlbstats}R Documentation

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

wra(400, 301)

[Package mlbstats version 0.1.0 Index]