Data for Exercise 9.23

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)

if (FALSE) {
library(ggplot2)
ggplot2::ggplot(data = Wins, aes(x = era, y = wins)) + 
           geom_point() + 
           geom_smooth(method = "lm", se = FALSE) + 
           theme_bw()
}