I am using coxph in the survival library to create Andersen-Gill models. I am interested in getting interval-specific survival rates for my data. For instance, I have 26 time intervals and would like to know the probability of survival within each interval. My basic code on a null model is as follows:
coxph <- coxph(Surv(start, stop, death.time)~1, data=mydata)
plot(survfit(coxph), ylim=c(0,1), xlab="Weeks", ylab="% Mortality")
This model is obviously just a null model for the sake of this example, but is there any way to get interval-specific survival rates, i.e., weekly survival or even just an overall period (26) survival probability?
