baseball {Rfit}R Documentation

Baseball Card Data

Description

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

Usage

data(baseball)

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

Source

Hettmansperger, T.P. and McKean J.W. (2011), Robust Nonparametric Statistical Methods, 2nd ed., New York: Chapman-Hall.

Examples

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

[Package Rfit version 0.27.0 Index]