TeenDeaths: Causes of Teenage Deaths

Description Format Source Examples

Description

Data from Table 1 (p. 14) on causes of death for all races, both sexes, ages 15-19.

Format

A data frame with 11 observations on the following 2 variables.

cause

a character vector

deaths

a numeric vector

Source

Anderson, R.N. 2001. Deaths: Leading causes for 1999. National vital statistics reports 49(11):1-88. National Center for Health Statistics; Hyattsville, Maryland.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
str(TeenDeaths)
TeenDeaths

barchart(deaths ~ cause, TeenDeaths,
  horizontal = FALSE,
  ylab = "Number of Deaths",
  xlab = "Cause of Death", origin=0,
  scales = list(x = list(rot=45)))

barchart(deaths~ordered(cause, levels=cause), TeenDeaths,
  horizontal = FALSE,
  ylab = "Number of Deaths",
  xlab = "Cause of Death", origin=0,
  scales=list(x=list(rot=45))
  )

abd documentation built on May 2, 2019, 2:14 p.m.