| Orioles | R Documentation |
Data for Example 1.3
Orioles
A data frame/tibble with 27 observations on three variables
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
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
a numeric vector containing each player's salary (in dollars)
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
stripchart(Orioles$`1999salary`, method = "stack", pch = 19)
## Not run:
library(ggplot2)
ggplot2::ggplot(data = Orioles, aes(x = `1999salary`)) +
geom_dotplot(dotsize = 0.5) +
labs(x = "1999 Salary") +
theme_bw()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.