powered by
Data for Exercise 9.11 and 9.17
Poverty
A data frame with 20 observations on the following 6 variables.
City
a factor with levels Atlanta Buffalo Cincinnati Cleveland Dayton, O Detroit Flint, Mich Fresno, C Gary, Ind Hartford, C Laredo Macon, Ga Miami Milwaukee New Orleans Newark, NJ Rochester,NY Shreveport St. Louis Waco, Tx
Atlanta
Buffalo
Cincinnati
Cleveland
Dayton, O
Detroit
Flint, Mich
Fresno, C
Gary, Ind
Hartford, C
Laredo
Macon, Ga
Miami
Milwaukee
New Orleans
Newark, NJ
Rochester,NY
Shreveport
St. Louis
Waco, Tx
a numeric vector
Crime
cindex
popu
ratio
# NOT RUN { str(Poverty) attach(Poverty) plot(Crime,Poverty) model <- lm(Poverty~Crime) abline(model) summary(model) detach(Poverty) remove(model) # }
Run the code above in your browser using DataLab