uxAbove100: Educate mx or qx on how to behave above age 100 if it gets in...

View source: R/LifeTable.R

uxAbove100R Documentation

Educate mx or qx on how to behave above age 100 if it gets in trouble (with NA's, zero's and Inf)

Description

Educate mx or qx on how to behave above age 100 if it gets in trouble (with NA's, zero's and Inf)

Usage

uxAbove100(x, ux, omega = 100, verbose = FALSE)

Arguments

x

Vector of ages at the beginning of the age interval.

ux

A vector of mx or qx.

omega

Threshold age. Default: 100.

verbose

A logical value. Set verbose = FALSE to silent the process that take place inside the function and avoid progress messages.

Value

A vector of rates


MortalityLaws documentation built on Aug. 8, 2023, 5:10 p.m.