Learn R Programming

survexp.fr: Relative survival, AER and SMR based on French death rates

R package created in 2013 and freely available at https://CRAN.R-project.org/package=survexp.fr

Installation from the CRAN

To install the survexp.fr package from the CRAN, open a R session and run install.packages("survexp.fr")

Installation from GitHub

To install the survexp.fr package from GitHub, open a R session and:

  • install devtools with install.packages("devtools") (if not installed yet)
  • for Windows users only, install Rtools or check that it is already installed (needed to build the package)
  • run devtools::install_github("hvaret/survexp.fr")

Copy Link

Version

Install

install.packages('survexp.fr')

Monthly Downloads

329

Version

1.2

License

GPL (>= 2)

Maintainer

Hugo Varet

Last Published

March 26th, 2025

Functions in survexp.fr (1.2)

survexp.fr-package

Relative survival, AER and SMR based on French death rates
LR

Log-Rank test between an observed and an expected survival curve
AER

Absolute Excess Risk (AER)
SMR

Standardized Mortality Ratio (SMR)
data.example

Example data to illustrate the functions
survexp_plot

Observed Kaplan-Meier, expected and relative survival curves
survexp.fr

French data for the expected survival and person years functions