This package fits the Smooth Threshold Life Table (STLT) and Dynamic Smooth Threshold Life Table (DSTLT) as outlined in Huang et al. (2020). It also provides S3 methods for predicting using fitted STLT and DSTLT models, as well as plotting the fitted lines. Functions are provided to compare the STLT fit to mortality models that are able to be fit by the MortalityLaws package. To install the STLT package, use the following command in R:
devtools::install_github("u5838836/STLT/STLT")
Note that the devtools package must be installed.