powered by
Data for Exercises 2.12 and 2.29
data(Inflatio)
A data frame with 24 observations on the following 5 variables.
year
a numeric vector
pay
increase
inflation
C6.T
a factor with levels alow bmiddle high
alow
bmiddle
high
# 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