R/BSDA-package.R
Wins.Rd
Data for Exercise 9.23
Wins
A data frame with 12 observations on nine variables
name of team
number of wins
batting average
runs batted in
bases stole
number of strikeots
number of times caught stealing
number of errors
earned run average
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
plot(wins ~ era, data = Wins)
if (FALSE) {
library(ggplot2)
ggplot2::ggplot(data = Wins, aes(x = era, y = wins)) +
geom_point() +
geom_smooth(method = "lm", se = FALSE) +
theme_bw()
}