BABERUTH {PASWR2}R Documentation

George Herman Ruth

Description

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

Usage

BABERUTH

Format

A data frame with 22 observation of the following 14 variables:

Source

https://www.baseball-reference.com/about/bat_glossary.shtml

References

Ugarte, M. D., Militino, A. F., and Arnholt, A. T. 2015. Probability and Statistics with R, Second Edition. Chapman & Hall / CRC.

Examples

ggplot(data = BABERUTH, aes(x = ba)) + geom_histogram(binwidth = 0.03) + 
facet_grid(team ~ .) + labs(x = "Batting average")
ggplot(data = BABERUTH, aes(x = g, y = ab, color = rbi)) + geom_point() + 
labs(x = "Number of Games Played", y = "Times at Bat", color = "Runs\n Batted In", 
title = "George Herman Ruth")

[Package PASWR2 version 1.0.5 Index]