leuk {MASS} | R Documentation |
A data frame of data from 33 leukaemia patients.
wbc |
white blood count |
ag |
a test result, "present" or "absent"
|
time |
survival time in weeks |
A data frame with columns:
Cox, D. R. and Oakes, D. (1984) Analysis of Survival Data, Chapman & Hall, p. 9. Taken from
Feigl, P. & Zelen, M. (1965) Estimation of exponential survival probabilities with concomitant information. Biometrics, 21, 826-838.
library(survival5) data(leuk) plot(survfit(Surv(time) ~ ag, data=leuk), lty=2:3, col=2:3) # now Cox models leuk.cox <- coxph(Surv(time) ~ ag + log(wbc), leuk) summary(leuk.cox)