Life {BSDA}R Documentation

Life expectancy of men and women in U.S.

Description

Data for Exercise 1.31

Usage

Life

Format

A data frame with 8 observations on the following 3 variables.

year
a numeric vector
Men
a numeric vector
Women
a numeric vector

Source

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Duxbury

Examples

str(Life)
attach(Life)
plot(year,Men,type="l",ylim=c(min(Men,Women),max(Men,Women)),col="blue",
main="Life Expectancy versus Year",ylab="Age",xlab="Year")
lines(year,Women,col="red")
text(1955,65,"Men",col="blue")
text(1955,70,"Women",col="red")
detach(Life)

[Package BSDA version 0.1 Index]