Learn R Programming

MESS (version 0.4-3)

lifeexpect: Estimated life expectancy for Danish newborns

Description

The estimated life expectancy for newborn Danes split according to gender.

Arguments

Format

A data frame with 70 observations on the following 3 variables.
year
a character vector
giving the calendar interval on which the estimation was based.
male
a numeric vector
Life expectancy for males (in years).
female
a numeric vector
Life expectancy for females (in years)
myear
a numeric vector
The midpoint of the year interval

Source

Data collected from Danmarsk Statistik. See http://www.dst.dk/en for more information.

Examples

Run this code

data(lifeexpect)
plot(lifeexpect$myear, lifeexpect$male)


Run the code above in your browser using DataLab