LAhomes | R Documentation |
Data collected by Andrew Bray at Reed College on characteristics of LA Homes in 2010.
LAhomes
A data frame with 1594 observations on the following 8 variables.
City where the home is located.
Type of home with levels Condo/Twh
- condo or townhouse, SFR
- single family residence, and NA
Number of bedrooms in the home.
Number of bathrooms in the home.
Number of cars that can be parked in the garage. Note that a value of 4
refers to 4 or more garage spaces.
Squarefootage of the home.
Indicates if the home has a pool.
Listing price of the home.
library(ggplot2)
ggplot(LAhomes, aes(sqft, price)) +
geom_point(alpha = 0.2) +
theme_minimal() +
labs(
title = "Can we predict list price from squarefootage?",
subtitle = "Homes in the Los Angeles area",
x = "Square feet",
y = "List price"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.