surv_data: Survival Example Data

surv_dataR Documentation

Survival Example Data

Description

This dataset contains survival data from the survival package's survival::lung dataset, modified to include factors for sex and strata, as well as a binary status variable which is 1 for death and 0 for censored.

Usage

surv_data

Format

An object of class data.frame with 228 rows and 12 columns.

Source

The data is generated by the create_surv_data.R script.


RobinCar2 documentation built on Sept. 9, 2025, 5:28 p.m.