Crandore Hub

reslife

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) <doi:10.18637/jss.v070.i08>.

Versions across snapshots

VersionRepositoryFileSize
0.2.1 rolling linux/jammy R-4.5 reslife_0.2.1.tar.gz 129.1 KiB
0.2.1 rolling linux/noble R-4.5 reslife_0.2.1.tar.gz 129.0 KiB
0.2.1 rolling source/ R- reslife_0.2.1.tar.gz 71.5 KiB
0.2.1 latest linux/jammy R-4.5 reslife_0.2.1.tar.gz 129.1 KiB
0.2.1 latest linux/noble R-4.5 reslife_0.2.1.tar.gz 129.0 KiB
0.2.1 latest source/ R- reslife_0.2.1.tar.gz 71.5 KiB
0.2.1 2026-04-26 source/ R- reslife_0.2.1.tar.gz 71.5 KiB
0.2.1 2026-04-23 source/ R- reslife_0.2.1.tar.gz 71.5 KiB
0.2.1 2026-04-09 windows/windows R-4.5 reslife_0.2.1.zip 131.1 KiB
0.2.1 2025-04-20 source/ R- reslife_0.2.1.tar.gz 71.5 KiB

Dependencies (latest)

Depends

Suggests