getqxt: getqxt

View source: R/Q2q.R

getqxtR Documentation

getqxt

Description

It enables for interpolating age-specific mortality rates for a multi-annual life tables.

Usage

getqxt(Qxt, nag, t)

Arguments

Qxt

A numerical matrix of Five-ages mortality rates without an age identification column and a time identification row.

nag

The number of age groups.

t

The number of years.

Value

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

lxt : a matrix containing the evolution of the population of survivors over age x for each year t.

dxt : a matrix containing the theoretical distribution of deaths by age x for each 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 the ages where qxtk and qxtl have been joined, for each year t.

Author(s)

Farid FLICI

Examples

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

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

Related to getqxt in Q2q...