Learn R Programming

BSDA (version 1.2.0)

Inflatio: Private pay increase of salaried employees versus inflation rate

Description

Data for Exercises 2.12 and 2.29

Usage

Inflatio

Arguments

Format

A data frame/tibble with 24 observations on four variables

year

a numeric vector of years

pay

average hourly wage for salaried employees (in dollars)

increase

percent increase in hourly wage over previous year

inflation

percent inflation rate

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples

Run this code
# NOT RUN {
plot(increase ~ inflation, data = Inflatio)
cor(Inflatio$increase, Inflatio$inflation, use = "complete.obs")

# }

Run the code above in your browser using DataLab