LifeTable.core | R Documentation |
LifeTable.core
LifeTable.core(x, Dx, Ex, mx, qx, lx, dx, sex, lx0, ax)
x |
Vector of ages at the beginning of the age interval. |
Dx |
Object containing death counts. An element of the |
Ex |
Exposure in the period. |
mx |
Life table death rate in age interval [x, x+n). |
qx |
Probability of dying in age interval [x, x+n). |
lx |
Probability of survival up until exact age x (if l(0) = 1), or the number of survivors at exact age x, assuming l(0) > 1. |
dx |
Deaths by life-table population in the age interval [x, x+n). |
sex |
Sex of the population considered here. Default: |
lx0 |
Radix. Default: 100 000. |
ax |
Numeric scalar. Subject-time alive in age-interval for those who
die in the same interval. If |
A data.frame containing life table results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.