Learn R Programming

ACSWR (version 1.0.1)

life: Life Expectancies

Description

This data set consists of life expectancy in years by country, age, and sex.

Usage

data(life)

Arguments

Format

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

m0

life expectancy for males at age 0

m25

life expectancy for males at age 25

m50

life expectancy for males at age 50

m75

life expectancy for males at age 75

w0

life expectancy for females at age 0

w25

life expectancy for females at age 25

w50

life expectancy for females at age 50

w75

life expectancy for females at age 75

References

Everitt, B. S., and Hothorn, T. (2011). An Introduction to Applied Multivariate Analysis with R. Springer.

Examples

Run this code
data(life)
factanal(life,factors=1)$PVAL
factanal(life,factors=2)$PVAL
factanal(life,factors=3)

Run the code above in your browser using DataLab