It would help me to give advice if I knew what you wanted to do with the new curves. Plot, print, extract?

A more direct solution to your question will appear in the next release of the 
code, btw.

Terry T.


On 07/25/2013 05:00 AM, r-help-requ...@r-project.org wrote:
My problem is:



I have a coxph.model with several strata and other covariables.

Now I want to fit the estimated survival-curves for new data, using
survfit.coxph.

But this returns a prediction for each stratum per individual. So if I
have 15 new individuals and 10 strata, I have 150 fitted surivival curves
(or if I don't use the subscripts I have 15 predictions with the curves
for all strata pasted together)



Is there any possibility to get only the survival curves for the stratum
the new individual belongs to?



______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to