Learn R Programming

Rfit (version 0.27.0)

bbsalaries: Baseball Salaries

Description

Salaries of 176 professional baseball players for the 1987 season.

Usage

data(bbsalaries)

Arguments

Format

A data frame with 176 observations on the following 8 variables.

logYears

Log of the number of years experience

aveWins

Average wins per year

aveLosses

Average losses per year

era

Earned Run Average

aveGames

Average games pitched in per year

aveInnings

Average number of innings pitched per year

aveSaves

Average number of saves per year

logSalary

Log of the base salary in dollars

References

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

Examples

Run this code
data(bbsalaries)
summary(rfit(logSalary~logYears+aveWins+aveLosses+era+aveGames+aveInnings+aveSaves,data=bbsalaries))

Run the code above in your browser using DataLab