Re: [Rd] new behavior of model.response

2018-06-27 Thread Therneau, Terry M., Ph.D. via R-devel
Charles Berry pointed out an error in my reasoning.   In the current survival I forgot the S3method line for length in the NAMESPACE file, so the behavior is really not new.  Nonetheless it remains surprising and non-intuitive.  Why does model.response sometimes attach spurious names, when th

[Rd] new behavior of model.response

2018-06-27 Thread Therneau, Terry M., Ph.D. via R-devel
I am getting some unexplained changes in the latest version of survival, and finally traced it down to this: model.response acts differently for Surv objects. Here is a closed form example using a made up class Durv = diagnose survival.   I tracked it down by removing methods one by one from Su