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

TeenDeaths

Causes of Teenage Deaths


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

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

The Analysis of Biological Data

v0.2-8
GPL-2
Authors
Kevin M. Middleton <middletonk@missouri.edu>, Randall Pruim <rpruim@calvin.edu>
Initial release
2015-07-02

We don't support your browser anymore

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