[R] How to pass a nested random effect with frailty in coxph() - survival package?

David Villegas Ríos chirleu at gmail.com
Thu Dec 11 14:28:24 CET 2014

I have a very simple Cox regression model in which I need to include a
nested random effect: individual nested in treatment. I know how to pass a
single random effect - e.g. frailty(id)- but how can I specify the nested
random (id nested in treatment) effect using frailty?
The equivalent in lme4 would be (treatment|id)



	[[alternative HTML version deleted]]

More information about the R-help mailing list