getqx | R Documentation |
It enables interpolating age-specific mortality rates from an annual life-table.
getqx(Qx, nag)
Qx |
Five-ages mortality rates which can be a vector created using combine function 'c()' or a column of a numerical matrix. |
nag |
number of age groups. |
qx : a vector of age-specific mortality rates.
lx : a vector of the age evolution of the population of survivors.
dx : a vector of the theoretical distribution of deaths by age.
qxl : a vector of the age-specific mortality rates interpolated using the Lagrange method.
qxk : a vector of the age-specific mortality rates interpolated using the Karup-King method.
junct_age : the age where qxk and qxl have been joined.
Farid FLICI
getqx(Qx=LT[,8], nag=17)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.