Re: [R] finegray function in the survival package

2017-05-03 Thread Therneau, Terry M., Ph.D.
Your question is much like "what is in my pocket?" since the only possible answer is "how could I know?". You have some block of R code that produce the stated error, but we don't know what it is. One wild guess is that a death time which is <=0 will produce this error since that would lead to

Re: [R] finegray function in the survival package

2017-05-02 Thread Ahalya Sivathayalan
Hello R-team, I am trying to use the tmerge function from survvial library. My data is similar to mgus2 dataset from R. But, I get the following message. Error in tmerge(dat, dat, id = Number, death = event(dYears, death), BMF = event(ptemp, : tstart must be > tstop > Could you help me? Tha

Re: [R] finegray function in the survival package

2016-09-07 Thread Therneau, Terry M., Ph.D.
On 09/07/2016 05:00 AM, r-help-requ...@r-project.org wrote: Dear R-Team, I have been trying to use the finegray routine that creates a special data so that Fine and Gray model can be fit. However, it does not seem to work. Could you please help me with this issue? Thanks, Ahalya. You have