q1to5: Convert Life Table Probabilities of Dying from 1-year to...

View source: R/fiveYearQ.R

q1to5R Documentation

Convert Life Table Probabilities of Dying from 1-year to Standard 5-year Age Groups.

Description

q1to5 converts 1-year life table probabilities of dying 1qx to standard 5-year age groups: 0, 1-4, 5-9, etc.

Usage

q1to5(q1)

Arguments

q1

Decimal: the input values for 1qx; either a single vector or a matrix, age x life table.

Value

Data frame: equivalent values for 5qx.

Author(s)

Samuel J. Clark, work@samclark.net

Examples

q1 <- predictLT("female",0.08,out5=FALSE)
q1to5(q1)

sinafala/svdComp5q0 documentation built on Sept. 25, 2022, 5:10 a.m.