getqx {Q2q} | R Documentation |
getqx
Description
It interpolate the age specific mortality rates
Usage
getqx(Qx, nag)
Arguments
Qx |
Five-ages mortality rates which can be a vector created using or a column of a numerical matrix |
nag |
number of age groups |
Value
qx age-specific mortality rates
lx a vector containing the age evolution of survivorship
dx a vector containing the theoretical deaths occured at age x
qxtl age specific mortality rates interpolated using the Lagrange method
qxtk age specific mortality rates interpolated using the Karup-king method
jonct_age the age where qxk and qxl have been joined
Author(s)
Farid FLICI
Examples
getqx(c(0.12, seq(0.05, 0.8,by=0.05)), 17)
[Package Q2q version 0.1.0 Index]