Skip to content

reslife

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

v0.2.1 · Oct 26, 2023 · GPL (>= 3)

Description

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>.

Downloads

202

Last 30 days

22310th

516

Last 90 days

2.1K

Last year

Trend: +41.3% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies pracma flexsurv gsl reslife

Version History

new 0.2.1 Mar 10, 2026
updated 0.2.1 ← 0.1.2 diff Oct 25, 2023
updated 0.1.2 ← 0.1.1 diff Sep 19, 2023
updated 0.1.1 ← 0.1.0 diff Sep 17, 2023
new 0.1.0 Aug 14, 2023