Learn R Programming

VirtualPop (version 2.0.2)

e0: Mean Ages at Death and Probabilities of Surviving to Selected Ages, by Sex

Description

Computes (a) Life expectancy at birth, (b) Probability of surviving at age 65, and (c) Probability of surviving at age 85

Usage

e0(d)

Value

e0

Mean ages at death

Prob65

Probability of surviving at age 65

Prob85

Probability of surviving at age 85

Arguments

d

The name of the database. If missing, dLH is used if it exists.

Examples

Run this code


utils::data(dLH,package="VirtualPop")
e0(d=dLH)


Run the code above in your browser using DataLab