Baseball team wins versus seven independent variables for National league teams in 1990
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) ## Not run: library(ggplot2) ggplot2::ggplot(data = Wins, aes(x = era, y = wins)) + geom_point() + geom_smooth(method = "lm", se = FALSE) + theme_bw() ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.