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>.
Version: | 0.2.1 |
Depends: | pracma, flexsurv, gsl |
Suggests: | knitr, rmarkdown |
Published: | 2023-10-26 |
DOI: | 10.32614/CRAN.package.reslife |
Author: | Andrew Crawford [cre, aut], Zekai Wang [aut], Ka Lok Lee [aut] |
Maintainer: | Andrew Crawford <atcrawford18 at gmail.com> |
License: | GPL (≥ 3) |
URL: | https://github.com/an-crawford/reslife |
NeedsCompilation: | no |
Materials: | NEWS |
CRAN checks: | reslife results |
Reference manual: | reslife.pdf |
Vignettes: |
reslife-demo |
Package source: | reslife_0.2.1.tar.gz |
Windows binaries: | r-devel: reslife_0.2.1.zip, r-release: reslife_0.2.1.zip, r-oldrel: reslife_0.2.1.zip |
macOS binaries: | r-devel (arm64): reslife_0.2.1.tgz, r-release (arm64): reslife_0.2.1.tgz, r-oldrel (arm64): reslife_0.2.1.tgz, r-devel (x86_64): reslife_0.2.1.tgz, r-release (x86_64): reslife_0.2.1.tgz, r-oldrel (x86_64): reslife_0.2.1.tgz |
Old sources: | reslife archive |
Please use the canonical form https://CRAN.R-project.org/package=reslife to link to this page.