data: A fictional survival trial taken directly from survHE.

dataR Documentation

A fictional survival trial taken directly from survHE.

Description

A dataset containing fictional data from a trial, where the main outcome is in terms of time-to-event and censoring indicator and with additional covariates.

Usage

data

Format

A data frame with 367 rows and 8 variables:

ID_patient

The individual level identifier

time

The observed time at which the event happens

censored

An indicator to describe whether the event is fully observed or censored

arm

An indicator for the treatment arm, with 0 = control and 1 = active treatment

sex

An indicator for the individual's sex, with 0 = male and 1 = female

age

A numeric variable with the individual's age

imd

A categorical variable representing a measure of area-level social deprivation

ethnic

A categorical variable representing the individual's ethnic group, as measured from a Census

References

\insertRef

Baio.2020expertsurv


expertsurv documentation built on Oct. 5, 2023, 5:09 p.m.