Learn R Programming

Sleuth2 (version 2.0-7)

ex0327: Life Expectancy and Per Capita Income

Description

Life expectancy and per capita income for 20 industrialized countries and 9 petroleum exporting countries. Note that there is a missing value for South Africa.

Usage

ex0327

Arguments

Format

A data frame with 29 observations on the following 4 variables.

Country

a character vector indicating the country

Life

life expectancy (years)

Income

income in 1974 (U.S. dollars)

Type

factor variable with levels "Industrialized" and "Petroleum"

References

Leinhardt, S. and Wasserman, S.S. (1979). Teaching Regression: An Exploratory Approach, The American Statistician 33(4): 196--203.

Examples

Run this code
str(ex0327)

Run the code above in your browser using DataLab