| CPRSKbmtcrr | R Documentation |
A dataset derived from the bmtcrr data (originally from the
casebase package). This version adds unique subject IDs, an example
grouping variable, and calculates an 'observed_time' based on age at transplant
plus follow-up time in years, setting age 0 as the origin. It's prepared
for competing risks analyses, potentially with frailties or left truncation.
data(CPRSKbmtcrr)
A data frame with 177 observations and the following columns:
Unique subject identification number.
Gender of the individual (Factor: Male, Female).
Disease type: ALL or AML (Factor: ALL, AML).
Phase at transplant (Factor: Relapse, CR1, CR2, CR3).
Age in years at transplant (start of follow-up).
Status indicator: 0 = censored, 1 = relapse, 2 = competing event.
Source of stem cells (Factor: BM+PB, PB).
Original failure time in months since transplant.
Example grouping variable (numeric, derived from id mod 10 + 1).
Time in years since birth (Age + ftime/12) representing the time of event or censoring relative to birth as origin.
This dataset was created by taking the original bmtcrr data from the
casebase package and applying the following transformations:
Added a unique subject identifier id.
Added an example grouping variable group based on id.
Calculated observed_time = Age + ftime/12 to represent the
subject's age at event or censoring, potentially for use with left
truncation at Age.
The primary event is typically relapse (Status=1), with death without relapse
(Status=2) as a competing event. Censoring is Status=0. Note that the time
scale for observed_time is years since birth.
Derived from the bmtcrr dataset available in the casebase package.
Scrucca L, Santucci A, Aversa F. Competing risk analysis using R: an easy guide for clinicians. Bone Marrow Transplant. 2007 Aug;40(4):381-7. doi:10.1038/sj.bmt.1705727.
bmtcrr. The casebase package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.