Mxc2e0abr: get life expectancy at birth from an (abridged)age-cause...

View source: R/Stepwise.R

Mxc2e0abrR Documentation

get life expectancy at birth from an (abridged)age-cause matrix

Description

Given a matrix with abridged ages in rows and causes of death in columns, then calculate life expectancy at birth using LTabr().

Usage

Mxc2e0abr(Mxc)

Arguments

Mxc

numeric matrix

Details

This assumes that the marginal row sums give all-cause mortality rates. Give an other category if you need to top-up to all-cause mortality. Do not include all-cause mortality itself!

Value

numeric life expectancy at birth


DemoDecomp documentation built on Sept. 20, 2024, 5:09 p.m.