| readmission2 | R Documentation |
A dataset derived from the readmission data (originally from the
frailtypack package, related to rehospitalization times after surgery
in colorectal cancer patients). This transformed version reshapes the data
to fit a standard illness-death model framework, focusing on the first
event (rehospitalization) and the terminal event (death). Recurrent
rehospitalization events beyond the first one are excluded. Time is scaled to years.
data(readmission2)
A data frame with one row per subject, containing columns suitable
for use with the IllnessDeath function:
Unique subject identification number.
Time (in years since surgery) to either the first rehospitalization (illness), death, or administrative censoring, whichever occurred first.
Time (in years since surgery) to either death or administrative censoring.
Indicator for the non-terminal event (first rehospitalization). 1 if the subject experienced a first rehospitalization before death/censoring, 0 otherwise.
Indicator for the terminal event (death). 1 if the subject died, 0 if censored.
Dukes' tumoral stage at baseline (Factor or numeric: 1:A-B; 2:C; 3:D).
Gender (Factor or numeric: 1:Male; 2:Female).
Comorbidity Charlson's index at baseline (Factor or numeric: 0: Index 0; 1: Index 1-2; 3: Index >=3). Note: Original data had this as time-dependent, this version likely uses the baseline value.
Indicator whether patient received chemotherapy (Factor or numeric: 1:No; 2:Yes).
An example grouping variable (numeric, derived from id mod 10 + 1), useful for fitting grouped frailty models.
The transformation process involved:
Starting with the original readmission data.
Excluding recurrent rehospitalization events, keeping only the interval from surgery (t.start=0) to the first event (event=1) or censoring (event=0).
Reshaping the data so each row represents one subject.
Defining observed_disease_time and disease_status based on the first event interval (t.stop when t.start=0).
Defining observed_death_time and death_status based on the overall follow-up time and final death status for the subject. If a subject had a first event and then further follow-up, the death time comes from the second interval if available.
Scaling time variables (t.stop) from days (assumed) to years by dividing by 365.
Copying baseline covariates (dukes, sex, charlson, chemo) from the subject's first record.
This dataset is intended primarily for demonstrating the IllnessDeath function.
Derived from the readmission dataset, originally described in:
Gonzalez, JR., Fernandez, E., Moreno, V., Ribes, J., Peris, M., Navarro, M.,
Cambray, M. and Borras, JM (2005). Sex differences in hospital readmission
among colorectal cancer patients. Journal of Epidemiology and
Community Health, 59, 6, 506-511.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.