Skip to contents

Extend qx with the Kannisto-Thatcher model

Usage

extend_qx_kt(lt, id_cols, age_start_range, open_age_start = 110)

Arguments

lt

data.table() Life table with columns age_start, mx, qx, and id_cols identifying a single life table.

id_cols

character() vector of column names identifying a single life table

age_start_range

numeric(2) vector of lower and upper inclusive age group start bounds to calculate model parameters from.

open_age_start

numeric(1) start of the open age interval to predict out to.

Value

data.table() life table(s) with \(q_x\) extended out to open_age_start.