getqx: getqx

Description Usage Arguments Value Author(s) Examples

View source: R/Q2q.R

Description

It interpolate the age specific mortality rates

Usage

1
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

1
getqx(c(0.12, seq(0.05, 0.8,by=0.05)), 17)

Q2q documentation built on Jan. 13, 2021, 6:16 p.m.

Related to getqx in Q2q...