getqxt {Q2q}R Documentation

getqxt: obtain the age-specific mortality surface

Description

getqxt interpolate the age specific mortality rates for a set of period life tables

Usage

getqxt(Qxt, nag, t)

Arguments

Qxt

A surface of Five-ages mortality rates which should be a numerical matrix containing mortality rates without age identification column and time identification row

nag

The number of age groups

t

The number of years

Value

qxt a matrix containing the age-specific mortality rates for age x in rows and for year t in columns

lxt a matrix containing the age evolution of survivorship for the year t

dxt a matrix containing the theoretical deaths occured at age x and year t

qxtl the age specific mortality rates interpolated using the Lagrange method for each year t

qxtk the age specific mortality rates interpolated using the Karup-king method for each year t

junct_ages a vector containing, for each year t, the ages where qxtk and qxtl have been joined

Author(s)

Farid FLICI

Examples

getqxt(Qxt=LT, nag=17, t=38)

[Package Q2q version 0.1.1 Index]