Description Usage Arguments Value Author(s) References Examples
View source: R/make.demogdata.R
The function make.demogdata
will return a demogdata object
for the given state and years.
1 2 3 |
state |
Character code indicating state or territory of Australia, or "AUS" indicating the whole of Australia. |
year |
Years to include in the demogdata object. The default is to include all available years from the ideaths database. |
combineyears |
Logical value indicating whether deaths and population numbers should be combined across years. Default is FALSE. |
upper.age |
Upper age group, by default set to 100+. |
smooth |
Logical value indicating whether mortality rates should be smoothed using penalized regression splines. Default is TRUE. |
population |
Character code indicating which estimated residential
indigenous population should be used. |
A demogdata object containing mortality rates for males, females and total. See demogdata for more information about demogdata objects.
Rob J Hyndman <Rob.Hyndman@monash.edu>
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.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.