lt_pars: Lifetable for simulation

Description Usage Arguments Value

View source: R/sample-pars.R

Description

Generate lifetable matrix for use in simulation

Usage

1
lt_pars(ltfemale, ltmale)

Arguments

ltfemale

Lifetable for women. Must contain column 'age' for single-year of age and 'qx' for the probability of death at a given age. Age must range from 0 to 100.

ltmale

Identical to ltfemale but for men.

Value

A list containing lifetables for females and males with qx transformed using the logit function. The lifetable has three columns: age, qx, and logit_qx.


InnovationValueInitiative/IVI-RA documentation built on Oct. 20, 2020, 10:02 p.m.