Learn R Programming

PASWR (version 1.3)

Baberuth: George Herman Ruth

Description

Baseball statistics for George Herman Ruth (The Bambino or The Sultan Of Swat)

Arguments

Format

A data frame with 22 observations on the following 14 variables.

Year

year in which the season occurred

Team

team he played for Bos-A, Bos-N, or NY-A

G

games played

AB

at bats

R

runs scored

H

hits

X2B

doubles

X3B

triples

HR

home runs

RBI

runs batted in

SB

stolen bases

BB

base on balls or walks

BA

batting average H/AB

SLG

slugging percentage (total bases/at bats)

References

Ugarte, M. D., Militino, A. F., and Arnholt, A. T. (2008) Probability and Statistics with R. Chapman & Hall/CRC.

Examples

Run this code
# NOT RUN {
with(data = Baberuth, 
hist(RBI))

# }

Run the code above in your browser using DataLab