[R] ctree for suvival analysis problem

David Winsemius dwinsemius at comcast.net
Thu May 17 17:17:10 CEST 2012


On May 17, 2012, at 11:04 AM, ofraam wrote:

> Thanks very much Achim!
> I was indeed using "pec" which requires "rms"...
>
> I see now that the old version of pec that I used didn't require rms  
> and
> therefore I had no problem.. I'm guessing I don't need the rms  
> methods for
> my use of pec, but am not sure how I can remove the dependency or
> alternatively mask back the "Surv" object to survival package. Any  
> ideas for
> that?

Perhaps:

GBSG2ct <- ctree(survival::Surv(time, cens) ~ .,data = GBSG2)

-- 
David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list