Learn R Programming

BSDA (version 0.1)

Cpi: Consumer price index from 1979 to 1998

Description

Data for Exercise 1.34

Usage

Cpi

Arguments

source

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Duxbury

Examples

Run this code
str(Cpi)
attach(Cpi)  
plot(Year,CPI,type="l",lty=2,lwd=2,col="red")   
names(CPI) <- Year
barplot(CPI,col="pink",las=2,main="Problem 1.34")   
detach(Cpi)

Run the code above in your browser using DataLab