Wins: Baseball team wins versus seven independent variables for...

Description Usage Format References Examples

Description

Data for Exercise 9.23

Usage

1

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

1
2
3
4
5
6
7
8
9
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)

BSDA documentation built on July 30, 2017, 5:01 p.m.