Calculate Mean Residual Life (MRL) and Related Values for Different Distributions

A pair of functions for calculating mean residual life (MRL) , median residual life, and percentile residual life using the outputs of either the 'flexsurv' package or parameters provided by the user. Input information about the distribution, the given 'life' value, the percentile, and the type of residual life, and the function will return your desired values. For the 'flexsurv' option, the function allows the user to input their own data for making predictions. This function is based on Jackson (2016) .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("reslife")

0.2.1 by Andrew Crawford, 3 years ago


https://github.com/an-crawford/reslife


Browse source code at https://github.com/cran/reslife


Authors: Andrew Crawford [cre, aut] , Zekai Wang [aut] , Ka Lok Lee [aut]


Documentation:   PDF Manual  


GPL (>= 3) license


Depends on pracma, flexsurv, gsl

Suggests knitr, rmarkdown


See at CRAN