EDagger: Total Life Expectancy Lost

Description Usage Arguments Examples

Description

Life expectancy lost due to death.

Usage

1
EDagger(dx, exdagger, radix = 1)

Arguments

dx

age distribution of deaths

exdagger

life expectancy lost at age x

radix

initial lifetable population (dx scaling factor)

Examples

1
2
3
4
5
6
7
8
9
# total life expectancy lost for a 1x1 lifetable of Swedish females
swe <- subset(sweden1x1, period == 1757 & sex == "female")
exdagger <- ExDagger(x = swe$x, ex = swe$ex)
EDagger(dx = swe$dx, exdagger = exdagger, radix = 100000)

# total life expectancy lost for a 5x5 lifetable of Swedish females
swe <- subset(sweden5x5, period == "1755-1759" & sex == "female")
exdagger <- ExDagger(x = swe$x, ex = swe$ex, ax = swe$ax)
EDagger(dx = swe$dx, exdagger = exdagger, radix = 100000)

jschoeley/lifequal documentation built on May 20, 2019, 2:07 a.m.