Re: [R] log-minus-log plot

2009-02-20 Thread Marc Schwartz
on 02/20/2009 07:23 AM Frank E Harrell Jr wrote: > C.H. wrote: >> Dear experts, >> >> I would like to know how to plot the log-minus-log plot for survival >> analysis (to check the proportional assumption) in R. >> >> Using the AML example. >> >> fit <- survfit(Surv(time, status) ~ x, data=aml) >>

Re: [R] log-minus-log plot

2009-02-20 Thread Frank E Harrell Jr
C.H. wrote: Dear experts, I would like to know how to plot the log-minus-log plot for survival analysis (to check the proportional assumption) in R. Using the AML example. fit <- survfit(Surv(time, status) ~ x, data=aml) length(fit$surv) #20 as the length of fit$surv is shorter than aml$x and

[R] log-minus-log plot

2009-02-19 Thread C.H.
Dear experts, I would like to know how to plot the log-minus-log plot for survival analysis (to check the proportional assumption) in R. Using the AML example. fit <- survfit(Surv(time, status) ~ x, data=aml) length(fit$surv) #20 as the length of fit$surv is shorter than aml$x and aml$time. I d