Learn R Programming

alr4 (version 1.0.5)

salary: Salary data

Description

Salary of faculty in a small Midwestern college in the early 1980s.

Arguments

Format

This data frame contains the following columns:
degree
Factor with levels "PhD" or "Masters"
rank
Factor, "Asst", "Assoc" or "Prof"
sex
Factor, "Male" or "Female"
year
Years in current rank
ysdeg
Years since highest degree earned
salary
dollars per year

Source

Sanford Weisberg

References

Weisberg, S. (2014). Applied Linear Regression, 4rd edition. Hoboken NJ: Wiley.

Examples

Run this code
head(salary)

Run the code above in your browser using DataLab