Wins | R Documentation |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.