getqx: getqx

View source: R/Q2q.R

getqxR Documentation

getqx

Description

It enables interpolating age-specific mortality rates from an annual life-table.

Usage

getqx(Qx, nag)

Arguments

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.

Value

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.

Author(s)

Farid FLICI

Examples

getqx(Qx=LT[,8], nag=17)


Q2q documentation built on April 12, 2025, 2:02 a.m.

Related to getqx in Q2q...