| myeloma | R Documentation |
Survival times of 3882 subjects with multiple myeloma, seen at Mayo Clinic from 1947–1996.
myeloma
A data frame with 3882 observations on the following 5 variables.
idsubject identifier
yearyear of entry into the study
entrytime from diagnosis of MM until entry (days)
futimefollow up time (days)
deathstatus at last follow-up: 0 = alive, 1 = death
Subjects who were diagnosed at Mayo will have entry =0, those who
were diagnosed elsewhere and later referred will have positive values.
The usage above assumes that the survival package is attached via
library(survival) or via another package that depends on
survival, e.g., mstate. If not, then either survival::myeloma
can be used or data(cancer, package="survival").
R. Kyle, Long term survival in multiple myeloma. New Eng J Medicine, 1997
# Incorrect survival curve, which ignores left truncation
fit1 <- survfit(Surv(futime, death) ~ 1, myeloma)
# Correct curve
fit2 <- survfit(Surv(entry, futime, death) ~1, myeloma)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.