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
______________________________________________
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.