| Commute {BSDA} | R Documentation |
Data for Exercises 1.13, and 7.85
Commute
A data frame with 39 observations on the following 3 variables.
CityAtlanta Baltimore Boston Buffalo Charlotte Chicago Cincinnati Cleveland Columbus Dallas Denver Detroit Hartford Houston Indianapolis Kansas City Los Angeles Miami Milwaukee Minneapolis New Orleans New York Norfolk Orlando Philadelphia Phoenix Pittsburgh Portland Providence Rochester Sacramento Salt Lake City San Antonio San Diego San Francisco Seattle St. Louis Tampa WashingtonX1980X1990Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Duxbury
str(Commute)
attach(Commute)
stripchart(x=list(X1980,X1990),method="stack",pch=1,cex=2,col=c("red","blue"),
group.names=c("1980","1990"),main="",xlab="minutes")
title(main="Commute Time")
boxplot(X1980,X1990,col=c("red","blue"),names=c("1980","1990"),horizontal=TRUE,las=1)
library(lattice)
commute <- stack(Commute)
commute[1:5,]
attach(commute)
stripplot(ind~values,jitter=TRUE)
dotplot(ind~values)
bwplot(ind~values)
remove(commute)
detach(Commute)