| mx_qx | R Documentation | 
Function to convert mx into qx and back, using the constant force of mortality assumption (CFM).
mx_qx(x, nx, ux, out = c("qx", "mx"))
| x | Vector of ages at the beginning of the age interval. | 
| nx | Length of the age-intervals. | 
| ux | A vector of mx or qx. | 
| out | Type of the output: mx or qx. | 
A vector of rates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.