| Housing | R Documentation |
Data for Exercise 5.82
Housing
A data frame/tibble with 74 observations on three variables
a character variable with values Albany,
Anaheim, Atlanta, Baltimore, Birmingham,
Boston, Chicago, Cincinnati, Cleveland,
Columbus, Dallas, Denver, Detroit, Ft
Lauderdale, Houston, Indianapolis, Kansas City, Los
Angeles, Louisville, Memphis, Miami, Milwaukee,
Minneapolis, Nashville, New York, Oklahoma City,
Philadelphia, Providence, Rochester, Salt Lake City,
San Antonio, San Diego, San Francisco, San Jose,
St Louis, Tampa, and Washington
a factor with levels 1984 and 1993
median house price (in dollars)
National Association of Realtors.
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
stripchart(price ~ year, data = Housing, method = "stack",
pch = 1, col = c("red", "blue"))
## Not run:
library(ggplot2)
ggplot2::ggplot(data = Housing, aes(x = price, fill = year)) +
geom_dotplot() +
facet_grid(year ~ .) +
theme_bw()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.