Learn R Programming

BSDA (version 1.2.1)

Orioles: Salaries of members of the Baltimore Orioles baseball team

Description

Data for Example 1.3

Usage

Orioles

Arguments

Format

A data frame/tibble with 27 observations on three variables

first name

a factor with levels Albert, Arthur, B.J., Brady, Cal, Charles, dl-Delino, dl-Scott, Doug, Harold, Heathcliff, Jeff, Jesse, Juan, Lenny, Mike, Rich, Ricky, Scott, Sidney, Will, and Willis

last name

a factor with levels Amaral, Anderson, Baines, Belle, Bones, Bordick, Clark, Conine, Deshields, Erickson, Fetters, Garcia, Guzman, Johns, Johnson, Kamieniecki, Mussina, Orosco, Otanez, Ponson, Reboulet, Rhodes, Ripken Jr., Slocumb, Surhoff,Timlin, and Webster

1999salary

a numeric vector containing each player's salary (in dollars)

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples

Run this code

stripchart(Orioles$`1999salary`, method = "stack", pch = 19)
if (FALSE) {
library(ggplot2)
ggplot2::ggplot(data = Orioles, aes(x = `1999salary`)) + 
           geom_dotplot(dotsize = 0.5) + 
           labs(x = "1999 Salary") +
           theme_bw()
}

Run the code above in your browser using DataLab