manhattan: manhattan

manhattanR Documentation

manhattan

Description

A data frame containing data on apartment rentals in Manhattan.

Usage

manhattan

Format

A data frame with 20 observations on the following 1 variable.

rent

Monthly rent for a 1 bedroom apartment listed as "For rent by owner".

Examples


library(ggplot2)

ggplot(manhattan, aes(rent)) +
  geom_histogram(color = "white", binwidth = 300) +
  theme_minimal() +
  labs(
    title = "Rent in Manhattan",
    subtitle = "1 Bedroom Apartments",
    x = "Rent (in US$)",
    caption = "Source: Craigslist"
  )

openintro documentation built on June 22, 2024, 7:37 p.m.