Learn R Programming

MortalityLaws (version 1.4.0)

mx_qx: mx to qx

Description

Function to convert mx into qx and back, using the constant force of mortality assumption (CFM).

Usage

mx_qx(x, ux, out = "qx")

Arguments

x

Vector of ages at the beginning of the age interval.

ux

a vector of mx or qx

out

type of the output: mx or qx