deathstable: Function to make deaths tables for subsets of data.

Description Usage Arguments Value Author(s) References Examples

View source: R/dtable.R

Description

Returns vector of total deaths by single-year of age. Deaths are counted using the method adopted for the “Enhanced Mortality Database”, adjusting for the under-identification of Indigenous deaths on the National Death Index.

Usage

1
2
3
deathstable(state = c("AUS", "ACT", "NSW", "NT", "QLD", "SA", "TAS", "VIC",
  "WA"), sex = c("female", "male", "total"), year = 2001:2010,
  upper.age = 115)

Arguments

state

The function will return all deaths from the state indicated.

sex

The function will return all deaths from the sex indicated.

year

Which years to be counted. Default is all available years.

upper.age

Deaths are cumulated for higher ages into this upper age group.

Value

A numerical vector with death counts in each cell.

Author(s)

Rob J Hyndman <Rob.Hyndman@monash.edu>

References

Choi, C., Hyndman, R.J., Smith, L., and Zhao, K. (2010) An enhanced mortality database for estimating indigenous life expectancy. Report for Australian Institute of Health and Welfare.

Examples

1
2
3
vicfdeaths2010 <- deathstable(state="VIC", sex="female", year=2010)
plot(0:115, vicfdeaths2010, xlab="Age", ylab="Number of deaths",
  main="Indigenous deaths in Victoria: females 2010")

robjhyndman/indmortality documentation built on May 20, 2019, 6:48 p.m.