Re: [R] Problem with time in coxph/survfit

2010-04-28 Thread Héloïse Gauvin
Hi! well I found the solution, times from my data are generated by a Gompertz distribution and have a lots of decimals. When they go through the survfit function times returned by survfit have only 13 decimals so when my times are compared to those ones it leads to false. That's it... so simple.

Re: [R] Problem with time in coxph/survfit

2010-04-28 Thread Terry Therneau
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 (a

[R] Problem with time in coxph/survfit

2010-04-27 Thread Héloïse Gauvin
Hi! I am having a few problems with coxph function, I had the same problem with the use of survfit. Here it is: when calling 'M22<-coxphw(Surv(V1,V2,V4)~V5, data=XTDV, id=XTDV$V3, * prentice*= ~V5, robust=TRUE, censcorr=TRUE)' knowning that my data is: > XTDV[1:10,1:3] V1 V2 V3 V4