Description Usage Arguments Details Examples
Life expectancy lost by those who die in age interval [x, x+w).
1 | ExDagger(x, ex, ax = 0.5)
|
x |
start of age interval |
ex |
life expectancy at age x |
ax |
fraction of time spent in age interval x before dying in that interval |
We assume that 'x', 'ex' and 'ax' are columns of a single, standard format lifetable: 1) ages are ordered from low to high, 2) there are no gaps between subsequent age intervals, 3) the last age interval is open to the right (e.g. 110+).
The age interval widths are calculated automatically as the difference between the starting points of the age intervals 'x'.
For the last age interval omega we define: edagger(omega) = [e(omega) + 1.4] / 2
1 2 3 4 5 6 7 | # life expectancy lost in age x for a 1x1 lifetable of Swedish females
swe <- subset(sweden1x1, period == 1757 & sex == "female")
ExDagger(x = swe$x, ex = swe$ex)
# life expectancy lost in age [x,x+wx) for a 5x5 lifetable of Swedish females
swe <- subset(sweden5x5, period == "1755-1759" & sex == "female")
ExDagger(x = swe$x, ex = swe$ex, ax = swe$ax)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.