Package: longevity
Type: Package
Title: Statistical Methods for the Analysis of Excess Lifetimes
Version: 1.3.1
Authors@R: c(person(given="Leo", family="Belzile", role = c("aut", "cre"), email = "belzilel@gmail.com", comment = c(ORCID = "0000-0002-9135-014X")), person(given = "Mitchell", family = "O'Hara-Wild", role = c("ctb"), comment = c(ORCID = "0000-0001-6729-7695")))
BugReports: https://github.com/lbelzile/longevity/issues
URL: https://lbelzile.github.io/longevity/
Depends: R (>= 4.0.0)
Imports: numDeriv, Rcpp (>= 1.0.6), rlang, Rsolnp
Suggests: knitr, ggplot2 (>= 3.0.0), tinytest, rmarkdown
LinkingTo: Rcpp, RcppArmadillo
Description: A collection of parametric and nonparametric methods for the analysis of survival data, described in <doi:10.32614/RJ-2025-034>. Parametric families implemented include Gompertz-Makeham, exponential and generalized Pareto models and extended models. The package includes an implementation of the nonparametric maximum likelihood estimator for arbitrary truncation and censoring pattern based on Turnbull (1976) <doi:10.1111/j.2517-6161.1976.tb01597.x>, along with graphical goodness-of-fit diagnostics. Parametric models for positive random variables and peaks over threshold models based on extreme value theory are described in Rootzén and Zholud (2017) <doi:10.1007/s10687-017-0305-5>; Belzile et al. (2021) <doi:10.1098/rsos.202097> and Belzile et al. (2022) <doi:10.1146/annurev-statistics-040120-025426>. 
License: GPL-3
Encoding: UTF-8
LazyData: true
VignetteBuilder: knitr
Config/roxygen2/version: 8.0.0
NeedsCompilation: yes
Packaged: 2026-07-13 23:11:44 UTC; lbelzile
Author: Leo Belzile [aut, cre] (ORCID: <https://orcid.org/0000-0002-9135-014X>),
  Mitchell O'Hara-Wild [ctb] (ORCID:
    <https://orcid.org/0000-0001-6729-7695>)
Maintainer: Leo Belzile <belzilel@gmail.com>
Repository: CRAN
Date/Publication: 2026-07-13 23:40:15 UTC
Built: R 4.7.0; x86_64-w64-mingw32; 2026-09-01 03:52:51 UTC; windows
Archs: x64
