powered by
Computes a team's win ratio, which is used in the so-called "Pythagorean expectation"
wra(rs, ra)
Number of runs scored
Number of runs allowed
wra
# NOT RUN { wra(400, 301) # }
Run the code above in your browser using DataLab