data {survHE} | R Documentation |
A fictional survival trial.
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
[Package survHE version 2.0.1 Index]