[R] Survival model with cross-classified shared frailties

Thomas Lumley tlumley at u.washington.edu
Thu Sep 8 16:27:32 CEST 2005


On Thu, 8 Sep 2005, Shige Song wrote:

> Dear All,
>
> The "coxph" function in the "survival" package allows multiple frailty
> terms.

Um, no, it doesn't.

> In all the examples I saw, however, the frailty terms are nested.
> What will happen if I have non-nested (that is, cross-classified) frailties
> in the model?

This wouldn't work even if it did allow multiple frailty terms.


You may want the coxme() function in the "kinship" package.


 	-thomas




More information about the R-help mailing list