David Villegas RĂos
2014-Dec-11 13:28 UTC
[R] How to pass a nested random effect with frailty in coxph() - survival package?
Hi, 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) Thanks! David [[alternative HTML version deleted]]