powered by
Computes the number of runs contributed by a hitter, based on runs, runs batted in, and home runs
rp(r, rbi, hr)
Number of runs
Number of runs batted in
Number of home runs
rp
# NOT RUN { rp(70, 41, 22) # }
Run the code above in your browser using DataLab