Description Usage Format Source Examples
Data giving time to relapse or continuing remission in patients randomized to a control vs. experimental intervention
1 | data("cox.oakes.leukemia")
|
A data frame with 42 observations on the following 3 variables.
group
Treatment group; 0 = control, 1 = treatment
time
Follow-up time
relapse
relapse indicator; 1 = relapse at the end of follow-up time, 0 = continuing remission
Cox and Oakes, Analysis of Survival Data, 1984.
1 2 3 4 5 | data(cox.oakes.leukemia)
library(survival)
leukemia.remission <- survfit(Surv(time, relapse) ~ group, data = cox.oakes.leukemia)
plot(leukemia.remission, lty = 2:3, mark.time = TRUE)
title("Kaplan-Meier Curves\nfor Cox and Oakes Leukemia Data")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.