tpx: Survival Function

Description Usage Arguments Details

View source: R/makehams.R

Description

Probability that x survives t years given survival to age x

Usage

1
tpx(t, x = gl.g(x), s = 0, uxt = gl.g(uxt), addtox = FALSE)

Arguments

t

the number of years to survive

x

the current age

s

select already used

uxt

the force of mortality (can be used to override the default force of mortality)

addtox

indicate whether s implies that age is x+s

Details

Uses a default select period of 2 (for makeham's law). t can be a vector with length > 1 x can be a vector with length > 1 s can be a vector with length > 1


nathanesau/makehams documentation built on May 23, 2019, 12:19 p.m.