Description Usage Arguments Examples
Life expectancy lost due to death.
1 | EDagger(dx, exdagger, radix = 1)
|
dx |
age distribution of deaths |
exdagger |
life expectancy lost at age x |
radix |
initial lifetable population (dx scaling factor) |
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.