Skip to content
Prev 307985 / 398503 Next

Problems with coxph and survfit in a stratified model with interactions

Your df object (newdata) has to have ALL the variables in it.  Normally you wouldn't need 
the strata variable, but in this case cov1 is also a covariate.  Look at the example I 
gave earlier.

Terry T.
On 10/15/2012 05:00 AM, r-help-request at r-project.org wrote: