murders: Data for 20 metropolitan areas.

Description Usage Format Examples

Description

Population, percent in poverty, percent unemployment, and murder rate.

Usage

1

Format

A data frame with 20 metropolitan areas on the following 4 variables.

population

Population.

perc_pov

Percent in poverty.

perc_unemp

Percent unemployed.

annual_murders_per_mil

Number of murders per year per million people.

Examples

1
2
3
4
5
6
7
8
library(ggplot2)

ggplot(murders, aes(x = perc_pov, y = annual_murders_per_mil)) +
  geom_point() +
  labs(
    x = "Percent in poverty",
    y = "Number of murders per year per million people"
    )

tessington/qsci381 documentation built on Sept. 26, 2020, 12:40 p.m.