Learn R Programming

Rfit (version 0.27.0)

baseball: Baseball Card Data

Description

These data come from the back-side of 59 baseball cards that Carrie had.

Usage

data(baseball)

Arguments

Format

A data frame with 59 observations on the following 6 variables.

height

Height in inches

weight

Weight in pounds

bat

a factor with levels L R S

throw

a factor with levels L R

field

a factor with levels 0 1

average

ERA if the player is a pitcher and his batting average if the player is a fielder

Examples

Run this code
data(baseball)
wilcox.test(height~field,data=baseball)
rfit(weight~height,data=baseball)

Run the code above in your browser using DataLab