Learn R Programming

BSDA (version 0.1)

Income: Percent change in personal income from 1st to 2nd quarter in 2000

Description

Data for Exercise 1.33

Usage

Income

Arguments

source

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

Examples

Run this code
str(Income)
attach(Income)
CATS <-factor(cut(income,breaks=c(0.5,1.0,1.5,2,max(income)) ))    
table(CATS)
table(CATS)/length(income)
barplot(table(CATS),col="lightblue",main="Problem 1.33")
detach(Income)
remove(CATS)

Run the code above in your browser using DataLab