RSURV: a function to perform relative survival analysis with S-PLUS or R
Related Experiment Video
Updated: Aug 18, 2026

An R-Based Landscape Validation of a Competing Risk Model
Published on: September 16, 2022
Roch Giorgi1, Julie Payan, Joanny Gouvernet
1LERTIM, Faculté de Médecine, Université de la Méditerranée, 27 Bd Jean Moulin 13385, Marseille Cedex, France. roch.giorgi@ap-hm.fr
Abstract:
Relative survival is a method used to estimate net survival using the expected mortality in the general population. This method is frequently used in cancer registries, more particularly with the Esteve et al. regressive proportional hazards model. Recently, extensions of this model have been developed to account for time-dependent covariate and for time-dependent hazards using B-spline functions. We propose a function, RSurv, to take into account these extensions. Written in the R/S language this function has the same structure of the standard Cox function coxph of R and S-PLUS software with the goal to homogenise survival functions and to take advantages of the power of R and S-PLUS software. We also propose a function, plot.RSurv, for plotting relative survival curves and time-dependent hazards ratio. The usage of these functions is exemplified by a study of a breast cancer hospital-based data set.
Related Concept Videos
Comparing the Survival Analysis of Two or More Groups
Assumptions of Survival Analysis
Introduction To Survival Analysis
The primary goal of survival analysis is to estimate survival time—the time until a...
Survival Curves
The Kaplan-Meier estimator is the most common method for constructing survival curves. This...
Truncation in Survival Analysis
Left truncation occurs when individuals who experienced the event of interest before a certain time are not included in the study. This is often due to a "delayed entry" into the study where only those who survive until a certain entry point are observed.
Kaplan-Meier Approach

