lt_smooth_ambiguous | R Documentation |
Considering different mortality input for each sex/year data, smooth older ages with makeham or kannisto in case no law was specified, and return a data.frame with standard LT.
lt_smooth_ambiguous(input, ...)
input |
data.frame. with cols: Date, Sex, Age, nMx (opt), nqx (opt), lx (opt) |
... |
Other arguments to be passed on to the |
Makeham is chosen if last age is less than 90. Else Kannisto.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.