Re: [R] Plotting survival curves from a Cox model with time dependent covariates

2011-07-15 Thread Terry Therneau
The time-transform (tt() arguments) feature is the most recent addition to coxph. Most of the follow-up functions, in particular survfit(fit) have not yet been updated to deal with such models. Your message points out that I need to at least update them to add a "not yet available" error message

[R] Plotting survival curves from a Cox model with time dependent covariates

2011-07-15 Thread Bjoern
Dear all, Let's assume I have a clinical trial with two treatments and a time to event outcome. I am trying to fit a Cox model with a time dependent treatment effect and then plot the predicted survival curve for one treatment (or both). library(survival) test <- list(time=runif(100,0,10),e