Re: [R] ctree and survival problem

2011-04-28 Thread Jonathan Daily
It would help people who know more about R's guts than me if you posted your sessionInfo() output and exactly what commands produced your error. It is also recommended that you try simply upgrading R to the latest version and see if you get an error with the latest version of 'party'. My guess is

Re: [R] ctree and survival problem

2011-04-28 Thread moleps
sessionInfo yields the following: sessionInfo() R version 2.11.1 (2010-05-31) x86_64-apple-darwin9.8.0 locale: [1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats4tcltk splines grid stats graphics grDevices utils datasets

Re: [R] ctree and survival problem

2011-04-28 Thread Achim Zeileis
On Thu, 28 Apr 2011, moleps wrote: sessionInfo yields the following: OK, the Design package causes the problem here. When you load the Design package, it provides a new Surv() and related methods. This clashes with the computations of ctree() based on Surv(). So it's better not to load

Re: [R] ctree and survival problem

2011-04-28 Thread moleps
Yup, thats the culprit. Thx. //M On 28. apr. 2011, at 18.36, Achim Zeileis wrote: On Thu, 28 Apr 2011, moleps wrote: sessionInfo yields the following: OK, the Design package causes the problem here. When you load the Design package, it provides a new Surv() and related methods. This

[R] ctree and survival problem

2011-04-27 Thread moleps
Dear all, I was intrigued by the ctree command and wanted to check it out. I first ran the demo with example(ctree) and did get the survival graphs in the end. Upon doing this with my own data and yielding a Invalid operation on a survival time I tried to rerun example(ctree) and now I also

[R] ctree and survival problem

2011-04-27 Thread moleps
Forgot to mention that the ctree command is from the party library. //M __ 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,