Many thanks for the suggestion.

I tried it already, but as I've never wrote a function, I had no luck. If it's not asked too much, maybe you or somebody else could help me getting the code for the function right.

Regards
Simon


Am 20/02/2012 14:52, schrieb Terry Therneau:
Summary of the query: "update" does not work on a coxme object

  I ran into this bug myself 2 days ago -- I rarely use update() so
hadn't encountered it before.  The problem is that coxme breaks the
formula into fixed and random portions, and this confuses the default
method for formula.

Solution: add the following function:
   formula.coxme<- function(x, ...) x$call$formula

  This method will be included in my next update of coxme.

Terry Therneau




--
Simon Tragust
Animal Ecology I
University of Bayreuth

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

Reply via email to