Learn R Programming

MESS (version 0.5.7)

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

Examples

Run this code
# NOT RUN {
data(lifeexpect)
plot(lifeexpect$myear, lifeexpect$male)


# }

Run the code above in your browser using DataLab