Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Domestic

Rates of domestic violence per 1,000 women by age groups


Description

Data for Exercise 1.20

Usage

Domestic

Format

A data frame/tibble with five observations on two variables

age

a factor with levels 12-19, 20-24, 25-34, 35-49, and 50-64

rate

rate of domestic violence per 1000 women

Source

U.S. Department of Justice.

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples

barplot(Domestic$rate, names.arg = Domestic$age)
## Not run: 
library(ggplot2)
ggplot2::ggplot(data = Domestic, aes(x = age, y = rate)) + 
           geom_bar(stat = "identity", fill = "purple", color = "black") + 
           labs(x = "", y = "Domestic violence per 1000 women") + 
           theme_bw()

## End(Not run)

BSDA

Basic Statistics and Data Analysis

v1.2.0
GPL (>= 2)
Authors
Alan T. Arnholt [aut, cre], Ben Evans [aut]
Initial release
2017-07-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.