Dear R users,

I tried to fit a cox proportional hazard model to get estimation of stratified 
survival probability. my R code is as follows:

cph(Surv(time.sur, status.sur)~ strat(colon[,13])+colon[,18] 
+colon[,20]+colon[,9], surv=TRUE)
Error in if (!length(fname) || !any(fname == zname)) { : 
        missing value where TRUE/FALSE needed
Here colon[,13] is the one that I want to stratify and the others are all 
coefficients. How can I solve this problem?  Thanks a lot!!!!!

Grace

       
---------------------------------


        [[alternative HTML version deleted]]

______________________________________________
[email protected] 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