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:

4.18 score 1 stars 2 scripts 161 downloads 2 exports 56 dependencies

Last updated 1 years agofrom:350310d614. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 02 2024
R-4.5-winOKNov 02 2024
R-4.5-linuxOKNov 02 2024
R-4.4-winOKNov 02 2024
R-4.4-macOKNov 02 2024
R-4.3-winOKNov 02 2024
R-4.3-macOKNov 02 2024

Exports:residlifereslifefsr

Dependencies:assertthatbbmlebdsmatrixBHclicolorspacecpp11data.tabledeSolvedplyrfansifarverfastGHQuadflexsurvgenericsggplot2gluegslgtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmstatemuhazmunsellmvtnormnlmenumDerivpillarpkgconfigpracmapurrrquadprogR6RColorBrewerRcppRcppArmadillorlangrstpm2scalesstatmodstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr

'reslife' Package Demo

Rendered fromreslife-demo.Rmdusingknitr::rmarkdownon Nov 02 2024.

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