Learn R Programming

demography (version 2.0)

fr.mort: French mortality data

Description

Age-specific mortality rates and population for France.

Arguments

Format

Object of class demogdata containing the following components:

year

Vector of years

age

Vector of ages

rate

List of matrices containing rates with with one age group per row and one column per year. Matrices: total, female, male.

pop

Population data in same form as rate.

type

Type of object. In this case, “mortality”.

label

Character string giving area from which data are taken. In this case, “France”.

Author

Rob J Hyndman

Details

fr.mort contains French mortality rates and populations (1899-2005) for ages 0-110. Data taken from the Human Mortality Database on 20 February 2008. fr.sm contains a smoothed version of fr.mort obtained using the smooth.demogdata function.

Examples

Run this code
plot(fr.mort,years=1950:1997)

plot(fr.mort,years=1990,type='p',pch=1)
lines(fr.sm,years=1990)

Run the code above in your browser using DataLab