Wins {BSDA} | R Documentation |
Baseball team wins versus seven independent variables for National league teams in 1990
Description
Data for Exercise 9.23
Usage
Wins
Format
A data frame with 12 observations on nine variables
- team
name of team
- wins
number of wins
- batavg
batting average
- rbi
runs batted in
- stole
bases stole
- strkout
number of strikeots
- caught
number of times caught stealing
- errors
number of errors
- era
earned run average
References
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
Examples
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)
[Package BSDA version 1.2.2 Index]