Package: reslife 0.2.1

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

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

reslife_0.2.1.tar.gz
reslife_0.2.1.zip(r-4.5)reslife_0.2.1.zip(r-4.4)reslife_0.2.1.zip(r-4.3)
reslife_0.2.1.tgz(r-4.4-any)reslife_0.2.1.tgz(r-4.3-any)
reslife_0.2.1.tar.gz(r-4.5-noble)reslife_0.2.1.tar.gz(r-4.4-noble)
reslife_0.2.1.tgz(r-4.4-emscripten)reslife_0.2.1.tgz(r-4.3-emscripten)
reslife.pdf |reslife.html
reslife/json (API)
NEWS

# Install 'reslife' in R:
install.packages('reslife', repos = c('https://an-crawford.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/an-crawford/reslife/issues

On CRAN:

2 exports 1 stars 1.33 score 56 dependencies 2 scripts 173 downloads

Last updated 11 months agofrom:350310d614. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 03 2024
R-4.5-winOKSep 03 2024
R-4.5-linuxOKSep 03 2024
R-4.4-winOKSep 03 2024
R-4.4-macOKSep 03 2024
R-4.3-winOKSep 03 2024
R-4.3-macOKSep 03 2024

Exports:residlifereslifefsr

Dependencies:assertthatbbmlebdsmatrixBHclicolorspacecpp11data.tabledeSolvedplyrfansifarverfastGHQuadflexsurvgenericsggplot2gluegslgtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmstatemuhazmunsellmvtnormnlmenumDerivpillarpkgconfigpracmapurrrquadprogR6RColorBrewerRcppRcppArmadillorlangrstpm2scalesstatmodstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr

'reslife' Package Demo

Rendered fromreslife-demo.Rmdusingknitr::rmarkdownon Sep 03 2024.

Last update: 2023-08-18
Started: 2023-07-19