Est.life.tab | R Documentation |
Performs a regular life table from estimated and smoothed mortality rates at age.
Est.life.tab(Est.qx, age = age, n = 1000)
Est.qx |
Estimated mortality vector with same length as age. |
age |
The age at the beginning of the age classes of the life table. |
n |
The amount of individuals of the first age class in the theoretical population. |
Constructs a cohort life table from estimated and smoothed mortality rates calculated with mortality
functions as Si.mod
or HP.mod
A dataframe with seven columns:
age |
Age at the beginning of the interval. |
qx |
Probability of death between ages x and x + n. |
nx |
Number of survivors at age x in a theoretical cohort starting with n individuals. |
dx |
Number of deaths at age x in a theoretical cohort starting with n individuals. |
lx |
Probability of survival to exact age x. |
ex |
Life expectancy at age x. |
Zx |
Instant death rate at age x |
Preston, S.H., Heuveline, P. and Guillot, F. (2001). Demography: Measuring and modeling population processes. Oxford: Blackwell.
Si.mod
HP.mod
modSi <- Si.mod(data = cetaceans, rm = 2, par = c(0.3159462, 0.1860541, -1.2802880, 1.1733226, 0.0170314)) dataSi <- Si.pred(data = cetaceans, Sout = modSi, rm = 2) Est.life.tab(Est.qx = dataSi$qx.tot, age = 0:29, n = 1000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.