[R] [R-pkgs] General mixed effects Cox models

Terry Therneau therneau at mayo.edu
Thu Oct 1 16:15:45 CEST 2009


After an extremely long gestation, a new version of the coxme package is
now available on CRAN.  This function fits very general mixed-effects
Cox models using an lmer-like syntax.  For instance here is a model that
fits a random treatment effect, using data from a multi-study
collaboration.

   fit <- coxme(Surv(pg.time, pg.stat) ~ stage + trt + (trt|site) +
		     stata(site), data= multicolon)

The program allows for multiple random effects, and differing variance
structures for them.  It currently has a fairly simple vignette showing
how to use the package; I'll be improving this to include more examples
over the next few months.  

Terry Therneau
Mayo Clinic

_______________________________________________
R-packages mailing list
R-packages at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-packages




More information about the R-help mailing list