Your problem appears to be with coxphw, not coxph. I have never before heard of the coxphw function; you should identify what package it is from in your request, and perhaps also contact the author. If you have found a similar issue in survfit I would be glad to see an example.
Terry Therneau (author of coxph and survfit) ______________________________________________ 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.