Learn R Programming

BSDA (version 1.2.2)

Wins: Baseball team wins versus seven independent variables for National league teams in 1990

Description

Data for Exercise 9.23

Usage

Wins

Arguments

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

Run this code

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()
}

Run the code above in your browser using DataLab