Learn R Programming

BSDA (version 1.01)

Inflatio: Private pay increase of salaried employees versus inflation rate

Description

Data for Exercises 2.12 and 2.29

Usage

data(Inflatio)

Arguments

Format

A data frame with 24 observations on the following 5 variables.

year

a numeric vector

pay

a numeric vector

increase

a numeric vector

inflation

a numeric vector

C6.T

a factor with levels alow bmiddle high

Examples

Run this code
# NOT RUN {
str(Inflatio)
attach(Inflatio)
plot(inflation,increase)
cor(inflation,increase,use="complete.obs")
detach(Inflatio)
# }

Run the code above in your browser using DataLab